...
Info | ||
---|---|---|
| ||
This routine is available since starting with katl-commons 2.5.7. |
Syntax
...
arraySort(arrayName, reverse)
Description
...
Excerpt |
---|
Sorts the elements from an array. |
Alias
...
arraySort(arrayName, reverse)
Parameters
...
Parameter name | Type | Required | Description |
---|---|---|---|
arrayName | array | Yes | The array. |
reverse | boolean | Yes | true if reverse order, false otherwise |
Return Type
...
array
Example
...
Code Block |
---|
watchers = arraySort(watchers, false); |
The result returned by the routine is an array which contains the elements from watchers sorted in the ascending order.
See
...
also
Filter by label (Content by label) | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|