Line Sorter
Sort lines ascending or descending.
Read the guideRun the tool
The calculation runs in your browser. This tool does not send your input to JVR Software.
More information
Back to the toolWhat it is and when to use it
Line Sort arranges one item per line so a list is easier to review, compare or paste into a fixture. It is useful for small inventories, labels and configuration examples where the original order has no operational meaning.
How it works
The browser compares whole lines with locale-aware collation and numeric comparison. Digit runs in labels can sort in natural order. The browser locale can affect how other characters, such as accented letters, are ordered.
How to use it
- Paste one value per line and preserve a copy before sorting.
- Run the tool and review rows that start with digits, punctuation or accented letters.
- Copy the result where it is safe to replace the original order.
Worked example
Paste Zephyr, Acacia and Cedar on separate lines. In ascending order, Acacia and Cedar precede Zephyr. The tool also places item2 before item10 in ascending order. Type desc in the secondary field to reverse the order.
Reading the result
Repeated entries can remain after sorting. In a long list they are typically easier to spot once adjacent. Use Line Deduplicator for a separate pass if repetition is unnecessary. Leading spaces and differences in capitalization can make two visually similar lines behave differently.
Common mistakes and limits
Avoid sorting structured blocks whose relative ordering matters, such as commands, sections of a config or multi-line records. For a dataset with fields, parse and sort by the intended column so the rest of each record remains attached. Sorting here moves complete lines only.
