WLJS LogoWLJS Notebook

NumericalSort

NumericalSort[list] sorts the elements of list into numerical order.

Examples

NumericalSort[{3, 1, 4, 1, 5, 9, 2, 6}]
NumericalSort[{"10", "2", "1"}]

Please visit the official Wolfram Language Reference for more details.

On this page