Text Sorter
Sort a list of lines alphabetically or numerically, reverse the order, and optionally strip duplicates at the same time.
How to use the text sorter
- Paste your list, one item per line.
- Choose a sort order from the dropdown.
- Optionally tick “remove duplicate lines”, then click Sort.
Features
- Alphabetical or numeric sorting, either direction
- Reverse-current-order mode for quick flips
- Optional duplicate removal in the same pass
Sort lists without changing the source file
A text sorter is useful for names, keywords, numbers, IDs and any other data arranged one item per line. Alphabetical sorting compares text, while numeric sorting is intended for values that should be ordered by number rather than by character.
Copy the result into a new file if the original order matters. If the list contains prefixes, mixed formats or leading zeros, check a few items after sorting to confirm that the chosen mode matches the way you want the values interpreted.
For human names, ordinary alphabetical order may not match every language or locale. If the sorted list will be used for official records, verify the expected collation rules in the destination system.
Frequently asked questions
Related tools
Sort order can change meaning
Alphabetical and numeric sorting are useful for cleanup, but they can destroy a meaningful original sequence. Decide whether case, punctuation and leading numbers should affect the order before replacing the source list.
- Keep a copy of the original sequence when order matters.
- Normalise inconsistent spaces if the list comes from multiple sources.
- For mixed labels such as Item 2 and Item 10, check whether lexical or natural numeric order is what you need.
Related reading: What “runs in your browser” means for privacy