Sort Lines

Sort Lines: Sort lines alphabetically or in reverse order.

Sort Lines

Sort Lines: Place each item on its own line, then choose ascending A to Z or descending Z to A order. Numeric substrings are compared naturally.

Loading the tool...

✓ Your inputs stay in this browser

How to use Sort Lines

Place each item on its own line, then choose ascending A to Z or descending Z to A order. Numeric substrings are compared naturally.

Example

The lines 'zebra' and 'apple' become 'apple' followed by 'zebra' in ascending order.

What to know

Sorting is English-oriented and case-insensitive. Blank lines are retained.