Skip to the tools
All kits

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.

Order

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