ListSort
Sorts a delimited list and returns the result
Method Signature
Arguments
Argument
Type
Required
Description
Default
list
string
true
The list to sort
sortType
any
false
Options are text, numeric, or textnocase
sortOrder
string
false
Options are asc or desc
asc
delimiter
string
false
string the list delimiter
,
includeEmptyFields
boolean
false
boolean whether to include empty fields in the returned result
false
multiCharacterDelimiter
boolean
false
boolean whether the delimiter is multi-character
false
localeSensitive
boolean
false
Sort based on local rules
callback
any
false
Optional function to use for sorting - if the sort type is a closure, it will be recognized as a callback
Examples
Related
Last updated