ArraySort
Sorts array elements.
Method Signature
Arguments
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
Examples
Related
Last updated