Runs in this tab · nothing uploaded

EN

English

हिन्दीComing soon

EspañolComing soon

Pinned
HelpyTools

More

Sort lines

Sort lines of text alphabetically, in natural number order or by length, reverse or shuffle them, with case and trimming options.

Runs in your browserNothing uploadedWorks offline
Loading Sort linesRuns on this device. Nothing is uploaded.

Questions

What is natural sort?

It reads numbers inside lines as numbers, so "file 2" comes before "file 10". Plain alphabetical order would put "file 10" first because 1 comes before 2.

How random is the shuffle?

It uses the Fisher and Yates shuffle with random numbers from your browser's crypto API, so every order is equally likely. Press Shuffle again for a new order.

Does it sort accented letters correctly?

Yes. Sorting uses your browser's language-aware collation, so "é" sorts next to "e" rather than after "z".

↑ ↓ move↵ openesc close

The tray

Install HelpyTools

Get HelpyTools on your home screen or Dock. It opens in its own window, and tools you have opened once keep working offline.