Sort Lines
Sort a list of lines alphabetically or numerically, in ascending or descending order.
Sort your list
Enter one item per line and choose how to sort it.
Sorting is locale-aware and uses natural numeric ordering for alphabetical lists (so item 2 sorts before item 10). Numeric mode treats non-numeric lines as text.
About Sort Lines
Sort a list of lines alphabetically or numerically, in ascending or descending order. The tool runs directly in your browser, and results update as you work. Your text is not uploaded or saved automatically.
How to use it
- Type or paste your text into the editor.
- Review the results, estimates or comparisons as they update.
- Use the available settings to adjust the results, then copy or save your text if needed.
For details about word segmentation, Unicode characters and time estimates, read how FreeWordCounter counts text. You can also browse the other free writing tools.
One place for everyday writing tasks
Explore Our Tools
Character Counter
Count characters with and without spaces, and check text against common platform limits or your own target.
Reading Time Calculator
Estimate reading and speaking time with adjustable words-per-minute speeds.
Case Converter
Convert text to uppercase, lowercase, title case, sentence case, camelCase, PascalCase, snake_case, kebab-case or CONSTANT_CASE.
Readability Checker
Explore English readability estimates and understand what each score means.
Keyword Counter
Find frequently used words and phrases, compare occurrence counts and review keyword density in your text.
Text Compare
Compare two versions of text and identify what has changed.
Remove Duplicate Lines
Find repeated lines and prepare a clean list of unique entries.
Sort Lines
Sort lines of text alphabetically or in reverse order.
Remove Extra Whitespace
Tidy repeated spaces, blank lines and unwanted whitespace.