Sort List
Sort any list alphabetically, numerically, by length, reversed or at random. Free, instant and private — your list is sorted in your browser and never uploaded.
Tip: only “Random shuffle” changes each time you press Sort again; other modes are deterministic.
How to sort a list online
- Paste your list. Add your items to the box above. By default each line is one item, but you can also split on commas, spaces or a custom separator.
- Choose how to sort. Pick alphabetical, numerical, by length, reversed or a random shuffle, and toggle case-sensitivity, trimming and duplicate removal.
- Copy the result. The sorted list appears instantly with an item count, ready to copy or download as a text file.
About this tool
This free list sorter arranges any set of items in the order you need. Alphabetical sorting uses locale-aware comparison so accented letters and mixed-language lists sort naturally; numerical sorting reads the number in each item so 2 comes before 10 (unlike naive text sorting); and length sorting counts real Unicode characters. You can also reverse the current order or shuffle the list randomly — useful for randomising names, questions or playlists.
Because lists come in many shapes, you can split input on new lines, commas, spaces, semicolons or your own custom separator, then optionally trim each item, drop blank entries and remove duplicates in the same pass. Everything is computed locally in your browser, so large lists sort instantly and nothing you paste is ever uploaded — keeping private data private.
Frequently asked questions
Why does numerical sorting differ from alphabetical?
Alphabetical (text) sorting compares character by character, so “10” sorts before “2” because “1” comes before “2”. Numerical sorting reads the numeric value of each item, giving the natural order 2, 10, 100. Choose numerical when your list is made of numbers, prices or quantities.
How does the random shuffle work?
The shuffle uses a Fisher–Yates algorithm seeded by your browser's cryptographically secure random generator, so every ordering is equally likely and unpredictable. Press “Sort again” to reshuffle. It is great for drawing names or randomising the order of a list.
Can I sort items separated by commas instead of lines?
Yes. Set the separator to Comma, Space, Semicolon or a custom character, and the tool will split your input on that separator, sort the items, and join the result back together with the same separator.
Is my list uploaded anywhere?
No. All sorting runs in your browser with JavaScript. Your list is never sent to a server, so it is safe to sort confidential names, emails or other sensitive data.