Uber Tools

Sort Lines

Sort lines alphabetically, naturally, by length or at random, and reverse or clean up a list

Text

Sorted

8 lines


How to sort lines

  1. Paste your list or text.
  2. Choose how to sort: alphabetically, naturally (numbers by value), by length, at random, or reverse the lines.
  3. Choose A to Z or Z to A, case sensitive or not, and remove empty or repeated lines if you like.
  4. Copy the sorted lines.

Questions

What is natural sorting?

Numbers in a line are sorted by their value, so file2 comes before file10, as people expect; alphabetical sorting would put file10 first.

Are accented letters sorted correctly?

Yes, alphabetical sorting follows your browser's language rules, so é sorts next to e.

Can I shuffle a list?

Yes, sort at random and shuffle again with a button, e.g. to draw names in a random order.

Is my text sent anywhere?

No, it's sorted by your browser as you type.

Related tools