Text Sorter (A-Z)

Sort list items alphabetically (A-Z, Z-A), numerically, or by length.

How to Use Text Sorter (A-Z)

  1. Paste your list with one item per line.
  2. Choose a mode: A - Z, Z - A, Numeric, Length, Reverse List or Shuffle.
  3. For alphabetical sorts, tick Case Sensitive Comparison if capitals should matter.
  4. Copy the sorted result.

How each sort works

A - Z and Z - A sort alphabetically using your browser's language rules, with natural number handling, so 'Item 2' comes before 'Item 10' instead of after it. Numeric reads the number at the start of each line, so '10 apples' sorts after '2 pears'; lines that don't start with a number count as 0. Length sorts by how many characters each line has. Reverse List flips the current order, and Shuffle puts the lines in a random order.

Empty lines are sorted like any other line, so remove them first with Whitespace Remover if you don't want them.

Combine with other tools

To sort and remove duplicates, run your list through Remove Duplicate Lines and then sort the result here.

Key Features & Practical Use Cases

  • Putting a list of names, products or keywords in alphabetical order.
  • Sorting numbered lines or prices from lowest to highest.
  • Shuffling a list of names to pick an order for presentations or a quiz.
  • Reversing a list that's in the wrong order.

Frequently Asked Questions

How do I sort a list alphabetically?

Paste the list, one item per line, and choose A - Z.

Why does 10 come after 9 now?

A - Z uses natural ordering, which compares numbers by value. Item 9 comes before Item 10.

Can I sort by the last word or a column?

No. Lines are sorted by their full text, from the first character.

Is my list uploaded?

No. Sorting happens in your browser.

About OneClickly

OneClickly is a set of 119 free tools for PDFs, images, text, everyday math and code. They run in your browser, so the files and text you work with stay on your device.

Related Tools