Sort Lines
The line sorter reorders a list of lines alphabetically, numerically, by line length or randomly, ascending or descending. Sorting is locale-aware so accented characters land where a reader expects them.
Your result will appear here.
Not sure where to start? Use Load example.
Results update automatically and are calculated on your device. Nothing you type is sent to a server.
Runs in your browser. Processing happens entirely in your browser. Nothing you enter is sent to Delimiter.live.
How to use the Sort Lines
- Paste your list with one item per line.
- Pick a sort mode: alphabetical, numeric, by length, or a random shuffle.
- Choose ascending or descending and whether case should matter.
- Copy or download the sorted list.
Example
banana apple cherry
apple banana cherry
Common use cases
- Alphabetising a glossary, a bibliography or a list of names.
- Ordering a list of numbers or prices exported from a spreadsheet.
- Sorting keywords by length to spot the longest or shortest phrases.
- Randomising a list to pick a winner or to shuffle test data.
Limitations and things to watch for
- Alphabetical sorting uses natural ordering, so "item 2" comes before "item 10" rather than after it. This is usually what people want but differs from a strict byte sort.
- Numeric sorting reads the first number found on each line. Lines with no number are grouped together at the end.
- The random shuffle uses the browser random number generator and is not suitable for anything requiring verifiable fairness, such as a public prize draw.