Sort Lines
Sort lines alphabetically or numerically
— Sort lines alphabetically or numerically
Sort by:
Input
Output
Output will appear here
0 words·0 chars·0 lines
⌘K
About Sort Lines
Sorts lines of text alphabetically, numerically, or in reverse order. Perfect for organising lists, config files, or any line-based data.
Use cases
- →Alphabetise a word list
- →Sort numbered items numerically
- →Reverse the order of lines
- →Organise import statements
FAQ
- Does it sort in place?
- Yes — the original line order is replaced by the sorted order.
- How does numeric sort work?
- Each line is parsed as a float. Lines that are not numbers sort to the end.