sorts the elements of list into numerical order.
- NumericalSort[list] is equivalent to Sort[list,NumericalOrder].
- NumericalSort uses the same canonical order as Sort, except that it treats all numeric expressions, dates and Quantity objects by value, independent of their representation.
- NumericalSort can be used on expressions with any head, not only List.
Examplesopen allclose all
Basic Examples (2)
Properties & Relations (1)
Possible Issues (1)
NumericalSort will not guarantee a particular ordering for different representations of the same number:
Introduced in 2017