sortNumberAscFn
Sort numbers in ascending order
Available since v1.9.0
Import
Section titled “Import”Examples
Section titled “Examples”Sort numbers ascending
Section titled “Sort numbers ascending”Use sortNumberAscFn as a comparator for Array.sort().
Sort strings alphabetically
Section titled “Sort strings alphabetically”Use sortStringAscFn for locale-aware string sorting.
