My Learning

Keep this for later

Sign in or create a free account to save it. You’ll return to this page afterward.

Sign inCreate an account

Text Sorter

Sort up to 1,000 non-empty lines in natural ascending or descending order.

One item per line. Blank lines are removed and surrounding spaces are trimmed.

How to use this tool

Place one item on each line, choose a direction and generate the sorted list.

Important to know

Sort up to 1,000 non-empty lines in natural ascending or descending order.

Blank lines and surrounding spaces are removed. The comparison is case-insensitive and natural, so 2 sorts before 10.

Formula and methodology

The tool splits lines, trims entries and applies a case-insensitive natural string comparison.

Frequently asked questions

Does the sorter keep blank lines?

No. Blank lines are removed before sorting.