🔀 Sort Lines
Sort lines alphabetically or numerically
How Line Sorting Works
- 1Paste your text into the input area.
- 2Select the sort mode: alphabetical, numeric, or reverse.
- 3The tool reorders all lines and displays the sorted output.
About Sort Lines
Sort lines of text alphabetically, numerically, or in reverse order. Handy for organizing lists, data, and code.
Frequently Asked Questions
Can I sort numerically?
Yes. Numeric sort compares lines by their leading number rather than character-by-character, so '10' comes after '2'.
Can I remove blanks while sorting?
Yes. Enable the 'remove blank lines' option to strip empty lines during sorting.