arraySort

Looking for the documentation on the newest versions of SIL Engine and the Simple Issue Language for Jira 8 for Server/Data Center? Click here !

Availability

This routine is available starting with SIL Engine™ 2.5.7.

Syntax

arraySort(arrayName, reverse)

Description

Sorts the elements from an array.

Alias

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

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