Skip to Main Content
HCL Domino Ideas Portal

Welcome to the #dominoforever Product Ideas Forum! The place where you can submit product ideas and enhancement request. We encourage you to participate by voting on, commenting on, and creating new ideas. All new ideas will be evaluated by HCL Product Management & Engineering teams, and the next steps will be communicated. While not all submitted ideas will be executed upon, community feedback will play a key role in influencing which ideas are and when they will be implemented.

For more information and upcoming events around #dominoforever, please visit our Destination Domino Page

Status Under Consideration
Workspace Domino Designer
Categories LotusScript
Created by Guest
Created on Feb 1, 2021

I need a function to sort an array.

The @ function has @Sort, and JavaScript has Array.sort().


it would be useful if LotusScript also had a function to sort arrays.

  • Attach files
  • Guest
    Reply
    |
    Jan 27, 2023

    These days we were forced to check out the options possible because our customers app ran into a stack overflow because of the recursivity of the quick sort algorythm we use.

    Sure there are other algorythms without recursivity like "shell sort", we tried out but they all were poor performance.

    Ironically we ended up with doin it via LS2J with a Java build in sort due to the fact it was way faster than anything else despite the overhead of passing the data to Java and back.

    But to be honest - it´s embarrassing to use something like quick sort which turns out to be 1,6 seconds for a test array while the Java took 0,2 seconds for the same.
    The Java guys from our company laugh at us dealing with such stupid things!

    There definitely should be an built in option for Lotus Script!

    Mark Reiser
    sirius-net GmbH