How to sort a list
- Paste your list, one item per line, or open a text or CSV file.
- Choose an order: alphabetical, natural, by length, or reversed.
- Turn on Remove duplicates to keep only the first copy of each line.
- Copy the result or download it.
Sort orders
| Order | Example result |
|---|---|
| A → Z | item 1, item 10, item 2 |
| Natural | item 1, item 2, item 10 |
| Shortest first | fig, kiwi, banana |
| Reverse order | The list upside down, without sorting |
Cleaning up a messy list
Lists copied from spreadsheets, emails or web pages often carry stray spaces, blank lines and repeats.Trim spaces and Remove empty lines are on by default, so pasting and sorting usually gives a clean list in one step. The summary under the result tells you how many lines were removed.
Common uses
- Cleaning up an email list. Paste a column of email addresses, turn on Remove duplicates, and get each address once in alphabetical order.
- Alphabetising names. Sort a list of attendees, products or references A to Z for a handout, a menu or the end of a document.
- File names with numbers in them. Natural sort puts lists like chapter2, chapter10 in the order people expect, which helps when checking a folder of numbered files.
- Finding the unique values in a column. Paste a column copied from a spreadsheet and remove duplicates to see each value once. The summary says how many repeats were removed.