Skip to content
TheToolsBank logo
✦ Free ToolText

Text Sorter: Sort Lines Alphabetically or by Length

By TheToolsBank Editorial TeamLast updated:

How to sort a list of lines

The four sort orders

Sorting numbers and numbered items

Removing duplicate lines while sorting

Common uses

Common Mistakes to Avoid

Sorting numbers with Natural sort turned off.

Solution:

Leaving blank lines or a trailing line break in the list.

Solution:

Having stray spaces at the start of lines.

Solution:

Removing duplicates with case-insensitive on when case matters.

Solution:

Frequently Asked Questions