Skip to main content
Back to tools

Sort Lines

Sort lines alphabetically, numerically, by length, or randomly

About Sort Lines

Sort Lines lets you sort lines alphabetically, numerically, by length, or randomly.

Category: Text.

Frequently asked questions

Is the sort case-sensitive?

By default yes — uppercase letters sort before lowercase (A < Z < a). Enable case-insensitive sorting to sort alphabetically regardless of case.

Can I sort numerically?

Yes. Enable numeric sort to compare lines as numbers rather than strings. This ensures 10 comes after 9 instead of between 1 and 2 as it would in lexicographic order.

Can I sort in reverse order?

Yes. Enable the reverse/descending option to sort Z→A or largest→smallest.

Related tools