Text Tools![]()
Sort Text Lines
Sort lines alphabetically A to Z or Z to A, by number or by length, reverse the order or shuffle them at random. Sorting follows the rules of your language.
Your text stays in this browser. It is never sent anywhere, saved or included in analytics.
How to use
- Paste your list, one item per line.
- Choose how to sort. The result updates right away.
- For Shuffle, tap it again for a new random order.
- Copy the sorted list.
Frequently asked questions
Why does "item 10" come after "item 9"?
Numbers inside lines are compared by value, so the order is the one people expect rather than character by character.
What happens to empty lines?
They are removed, so the sorted list has no gaps. Lines without a number go to the end when you sort by number.