NumericalSort

NumericalSort[list]

sorts the elements of list into numerical order.

Details

Examples

open allclose all

Basic Examples  (2)

Sort by numerical value:

In[1]:=
Click for copyable input
Out[1]=

This may be different from the canonical expression order:

In[2]:=
Click for copyable input
Out[2]=

Groups of elements that can be compared with each other will typically be together in the result:

In[1]:=
Click for copyable input
Out[1]=

Scope  (7)

Properties & Relations  (1)

Possible Issues  (1)

See Also

Sort  SortBy  NumericalOrder  AlphabeticSort

Introduced in 2017
(11.1)