Sort Lines (Alphabetical, Numeric, Random)
Sort a list alphabetically, numerically, by length or randomly — ascending or descending, with natural number ordering.
How to use
- 1Paste a list with one item per line.
- 2Pick a sort method and order, then copy the sorted list.
Frequently asked questions
What is natural sorting?
Numbers inside text are compared as numbers, so 'file2' comes before 'file10' instead of after it.
How are lines without numbers handled in numeric sort?
They are placed after all lines that start with a number, in their original order.
Is the random shuffle fair?
Yes. It uses a Fisher-Yates shuffle with your browser's secure random generator, so every order is equally likely.