Sort lines

Sort a list alphabetically, by number or by length — or reverse or shuffle it.

Order

Sort any list

Paste a list with one item per line and choose how to order it. The alphabetical sort uses natural ordering, so "item 2" comes before "item 10", and accented letters are sorted where a person would expect them.

How to use it

  1. Paste your list, one item per line.
  2. Choose the order.
  3. Copy the sorted list.

Frequently asked questions

How do I sort a list alphabetically?

Paste the list and choose A → Z. Tick "Case sensitive" only if you want capital letters sorted before lowercase ones.

Is the shuffle truly random?

It uses your browser's cryptographic random number generator with a Fisher–Yates shuffle, so every order is equally likely.

Can I remove duplicates while sorting?

Yes — tick "Remove duplicates".

More free text tools