Sort List
Sort any list from A to Z, by number or by length, remove duplicates and reverse the order. Free, and it runs entirely in your browser.
What is a list sorter?
A list sorter puts the lines of a list in order. You paste the list, pick how it should be ordered, and get the same items back in a tidy sequence. Nothing is added or rewritten, only the position of each item changes.
People use it for all kinds of small jobs. A teacher sorts a class list by surname before printing it. Someone cleaning up a shopping list wants it alphabetical so nothing gets bought twice. A developer has a column of version numbers or prices copied from a log and wants to see the smallest and largest at a glance. Doing this by hand works for ten lines but gets slow and error prone at a hundred.
There are three ways to sort:
- A to Z orders items the way a dictionary does. Numbers inside words are read as numbers, so “item 2” comes before “item 10” instead of after it.
- Numbers reads each item as a number, so 9 comes before 10 and negative numbers come first. Values like “1,000” count as one thousand. Items that are not numbers go to the end, following the order you chose (A to Z or Z to A).
- Length puts the shortest items first. Items of the same length keep the order they had in your list.
Each method can run ascending or descending. You can also choose whether capital letters matter and whether repeated items should be removed.
Letters follow the rules of the page language. On the Vietnamese page, Vietnamese words sort in Vietnamese order, so “đ” comes after “d” and “ă” and “â” come right after “a”. On this English page, accented letters sort next to their plain letter.
Items do not have to be on separate lines. You can split them by comma or by any other character. Everything runs in your browser. Your list is not sent anywhere and is gone when you close the page.
How to use the list sorter
- Click inside Your list. It holds a short sample so you can see a result straight away.
- Replace the sample with your own list, one item per line. If your items are separated by commas or something else, change the separator setting under the box.
- Choose how to sort: A to Z, Numbers or Length.
- Choose ascending or descending, and tick the options for matching case or removing duplicates if you need them.
- Read the sorted list in the Result box. It updates as you type, and the count under it shows how many items there are.
- Press the reverse button to flip the original list without sorting it, or press Copy result to copy the output.
FAQ
Why does “item 10” come after “item 9”?
The A to Z mode reads digits inside an item as whole numbers. That matches what most people expect from file names, chapters and invoice numbers. A plain character by character sort would put “10” before “9” because “1” is smaller than “9”.
What happens to items that are not numbers in the Numbers mode?
They are kept, not dropped. All numbers come first in the order you chose, then the other items follow in the same order, A to Z or Z to A. So a stray heading or a blank cell from a spreadsheet will not break the sort.
Does removing duplicates ignore capital letters?
It follows the match case option. With match case off, “Apple” and “apple” count as the same item and only the first one is kept. Turn match case on if you want to keep both.
Can I just reverse a list without sorting it?
Yes. The reverse button under the result shows your list from the last item to the first, exactly as you entered it. Press it again to go back to the sorted view.
How long can my list be?
You can sort up to 20,000 items or about 100,000 characters at once. That covers a long spreadsheet column, and the result still appears almost instantly on a normal phone or laptop.
Is my list stored or sent anywhere?
No. Sorting happens inside the page on your own device. Nothing is uploaded and nothing is kept after you close the tab.