ArraySort
Sorts array elements.
Method Signature
Arguments
Examples
Related
Last updated
Sorts array elements.
Last updated
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
any
false
Function to sort by