Syntax
arraySort(arrayName, reverse)
Package
array
Alias
Pkg Usage
sort(arrayName, reverse)
Sorts the elements from an array.
Parameter name
Type
Required
Description
arrayName
Array
Yes
Array.
reverse
Boolean
"True" if reverse order and "false" otherwise.
watchers = arraySort(watchers, false);
The result returned by the routine is an array that contains the elements from watchers sorted in the ascending order.