Sort Lines

Sort lines of text alphabetically in ascending or descending order.

About this tool

Put a list in alphabetical order, reverse it, sort it by length or shuffle it at random. Numbers sort naturally, so item 2 comes before item 10.

How to use it

  1. Paste your list with one item per line.
  2. Choose a sort order.
  3. Copy the result.

Frequently asked questions

Does sorting ignore capital letters?

Yes. Uppercase and lowercase letters sort together.

How do I sort a comma-separated list?

Use the list converter, which can split a list, sort it and rejoin it.

Is the shuffle random?

Yes, every order is equally likely.