Monu Tools

Sort Lines

Sort lines of text alphabetically, numerically or by length, with options to trim, deduplicate blanks and ignore case.

How to use the Sort Lines

  1. 01

    Paste your list with one item per line.

  2. 02

    Choose how to sort: alphabetically, numerically, by length or reversed.

  3. 03

    Toggle trim, remove empties or ignore case, then copy the result.

Frequently asked questions

How does numeric sorting work?

Each line is sorted by the number at its start, so 2 comes before 10. Lines without a leading number are placed at the bottom.

What does ignore case do?

It sorts letters without regard to capitalisation, so apple and Apple sit together instead of all capitals coming first.

Does it remove duplicates?

It can drop empty lines, and you can pair it with the remove duplicate lines tool to also strip repeated entries before or after sorting.

About this tool

A line sorter that orders a list alphabetically, numerically or by length, ascending or descending, and can simply reverse the current order.

Options to trim whitespace, drop blank lines and ignore case make it quick to tidy up lists, logs and exports.

Related tools

We use essential cookies to run the site. With your consent we also load Google AdSense, which sets advertising cookies. See our privacy policy.