Skip to content

Line Sorter

Sort lines alphabetically, by number or length — or reverse and shuffle them.

  • 100% free
  • Natural number sorting
  • Runs in your browser

Last reviewed by the OnlineToolPro team

0 characters

Sort by

What is the Line Sorter?

Sort any list A→Z or Z→A, put numbers in their natural order (2 before 10), sort by length, reverse the order or shuffle it randomly. Handles accents and capital letters sensibly.

How it works

How to use the Line Sorter

3 simple steps. No experience needed.

What can you use it for?

  • Alphabetise names, glossary terms or references.
  • Put numbered items (like “item 2, item 10”) in the right order.
  • Randomise the order of questions or tasks.

FAQ

Frequently asked questions

What does “Numbers in order” do?

It sorts numbers by value, so “item 2” comes before “item 10” — normal alphabetical sorting would put 10 first.

Is the shuffle truly random?

It uses your browser's secure random generator, so every order is equally likely.

Other tools you might find useful next.

More Text Tools

Useful tools for writing, editing and analyzing text. 7 free tools.

Browse Text tools