Free Sort Lines

Sort a list A→Z or Z→A with natural number ordering and optional dedupe.

Loading the tool…

What does the Sort Lines tool do?

Alphabetical sorting with a twist that plain sorts get wrong: natural ordering, so “item2” comes before “item10” instead of after it.

Sort ascending or descending, optionally dropping duplicates in the same pass.

How to use the Sort Lines

  1. Paste your lines.
  2. Pick the order and options.
  3. Click Sort Lines and copy the result.

Frequently asked questions

What is natural number ordering?

Numbers inside text sort by value: file2 before file10. A plain character sort puts file10 first, which is rarely what you want.

Is the sort case-sensitive?

No — “apple” and “Apple” sort together, using locale-aware comparison.

Can I sort and dedupe in one go?

Yes — tick Remove duplicates.

Does my list leave the browser?

No — sorting is local.

Need custom software?

BitsSolved builds SaaS products, web applications, mobile apps and business automation.

Talk to BitsSolved