ArraySort
Last updated
Last updated
Sorts array elements.
Argument | Type | Required | Description | Default |
---|---|---|---|---|
array
modifiablearray
true
The array to sort
sortType
any
false
Options are text, numeric, or textnocase
textnocase
sortOrder
string
false
Options are asc or desc
asc
localeSensitive
boolean
false
Sort based on local rules
callback
function:Comparator
false
Function to sort by