All text tools
Sort Text Lines
Put a list in order: alphabetically, numerically, by length or at random, with duplicates and blank lines dropped on the way through.
Your lines
0 words · 0 characters
Sorted
0 words · 0 characters
Order
Options
Lines in
0
Lines out
0
Sorting uses a locale-aware comparison, so accented letters land next to their plain counterparts rather than after Z. Natural order compares the numbers inside a line as numbers, which is why "item 2" comes before "item 10" instead of after it.