Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info
titleAvailability

This routine is available starting with katl-commons 2SIL Engine™ 2.5.7.

Syntax

arraySort(arrayName, reverse)

...

arraySort(arrayName, reverse)

Parameters

Parameter name

Type

Required

Description

arrayName

array

Yes

Array.

reversebooleanYes"True" if reverse order and "false" otherwise.

Return Type

array

Example

Code Block
watchers = arraySort(watchers, false);

The result returned by the routine is an array that contains the elements from watchers sorted in the ascending order. 


See also

Filter by label (Content by label)
showLabelsfalse
max100
showSpacefalse
cqllabel = "array_routines"
labelsarray_routines