jarvisbox

Line Sorter

Sort lines of text in 5 different ways.

100% in your browser. Your file never leaves your device.

Type or paste lines above, then click a sort button.

Why use a line sorter?

Sorting lists manually is slow and unreliable for anything beyond a handful of items. Whether you are organising a word list, shuffling options for a quiz, sorting log entries, or reversing a sequence for a script, a line sorter does the job instantly. The natural sort option is especially useful for lists that mix text and numbers, such as filenames or version strings, where alphabetical sort gives counterintuitive results.

How to use

Paste your list into the input box — one item per line. Click the sort button that matches your goal: A→Z for ascending alphabetical, Z→A for descending, Natural for number-aware alphabetical, Random to shuffle, or Reverse to flip the order. The result appears in the output box. Click Copy to put it in your clipboard. You can sort multiple times to chain operations, for example Reverse then A→Z.

Preguntas frecuentes

What is natural sort order?
Natural sort treats embedded numbers as numeric values, not character sequences. So "item2" comes before "item10", unlike strict alphabetical sort where "10" < "2" because "1" < "2" character-by-character.
Are empty lines kept?
Empty lines are treated as empty strings and sorted with the rest. If you want to remove them before sorting, use the Dedup or Find & Replace tool first.
Is the sort case-sensitive?
The A→Z and Z→A sorts use locale-aware comparison (localeCompare) which is case-insensitive by default on most systems. Natural sort also uses locale-aware comparison.
Reportar un problema con esta herramienta