Line Sorter
Sort lines alphabetically, numerically or by length.
What this tool does
Turn a jumbled list into an ordered one. This tool sorts the lines of your text alphabetically or numerically, which is handy the moment you have a list that needs to be tidy or grouped.
How to use this tool
- 1
Paste your lines
One item per line. Empty lines are kept unless you remove them first.
- 2
Choose the order
Ascending or descending.
- 3
Choose what to sort by
Alphabetical, numeric or line length.
- 4
Copy the sorted list
Check the top and bottom of the list before pasting it back into your file.
When to use it
- You have a list of names, emails or items and need it in alphabetical order.
- You want to sort numbers or versions in a sensible numeric order.
- You are preparing a list to paste into a spreadsheet or document.
- You need to group similar lines together so duplicates are easier to spot.
How to understand this tool
Sorting here compares text, not values. That is why a list of 10, 9, 2 and 100 does not come out in the order you expect: "10" and "100" start with the same digit, so they land before "2". Numeric mode helps when the numbers are written plainly, but mixed digit lengths still sort as strings. Line length ignores the content entirely and orders by character count.
What it will not do
- It does not sort by a second column, by date, or with a custom order.
- Case affects the order, so uppercase entries can group ahead of lowercase ones.
Questions people ask
What if my list has blank lines?
Blank lines are usually ignored or sorted to the top; remove them first for the cleanest result.
Does sorting change the words?
No. It only reorders whole lines; the content of each line stays exactly the same.
One thing worth knowing
Paste with formatting stripped first if your source is a web page — most editors accept plain text with Ctrl+Shift+V.