Sort text lines

Put a list in order — alphabetical, numerical or by length — or mix it up randomly.

Sort by

How to use the sort text lines

  1. Paste your list, one item per line.
  2. Choose how to sort.
  3. Copy or download the sorted list.

When it's useful

  • Alphabetising product or customer lists
  • Ordering prices from low to high
  • Randomising names for a draw

Limits to know

  • Number sorting reads the first number found on each line; lines without numbers go last.

Your privacy

Everything is worked out in your browser. What you type isn't uploaded, saved or shared, and there's no sign-up.

Questions

Does A-Z sorting handle numbers in names?

Yes. It uses natural order, so 'Item 2' comes before 'Item 10'.

Is shuffle truly random?

It uses a fair shuffle so every order is equally likely.

Related tools