Sort lines
Paste a list and sort it: A to Z, Z to A, natural order that reads numbers as numbers, or a shuffle when you want them mixed.
Natural order is the one people usually mean for anything with numbers in it, so "file2" comes before "file10" rather than after it.
0 words, 0 characters
Questions
- Is my text sent anywhere?
- No. Every count and every conversion happens in this page as you type. There is no server here that could receive what you paste, and you can check it in your browser's network tab: typing produces no requests at all.
- What is natural order?
- It reads runs of digits as numbers, so "file2" sorts before "file10". Plain alphabetical order compares character by character and puts "file10" first, because "1" comes before "2", which is almost never what you want for a numbered list.
- Is the sort case-sensitive?
- A to Z and Z to A compare by character code, so capitals group ahead of lower case. For a list where that matters, tidy the case first with the case converter, then sort.
- What does shuffle do?
- It puts the lines in a random order, which is useful for drawing names or randomising a quiz. Every line is kept; only the order changes.
- Can I compare two lists instead?
- That is a different job, and the developer kit does it: its diff tool shows what changed line by line. This tool sorts a single list.
The other tools here
- Word counter, words, characters, sentences and reading time
- Case converter, upper, lower, title and sentence case
- Clean text, fix spacing, line breaks and duplicate lines
- Find and replace, swap text, plain or with a pattern
- Remove duplicate lines, keep the first of each line, drop the rest
- Lorem ipsum, placeholder text, by paragraphs or words
- Read aloud, have text spoken by your device's voice
- Transcribe speech, turn a recording or mic into text, on your device