Skip to content

NumericalSort

Sorts a list of strings in canonical order.

$ wo 'NumericalSort[{"file10", "file2", "file1"}]'
{file1, file10, file2}