Text Tools
Line sorter
Sort lines with locale-aware comparison and optional numeric order.
JavaScript is required to run the interactive tool. Open the tool separately if it does not load in the frame.
How to use it
Paste lines, choose options and press Run.
Example
With numeric order, item 2 comes before item 10.
Frequently asked question
Is sorting identical in every language?
No. Collation rules vary by locale and browser implementation.
Limits and privacy
Sorting uses the selected locale's Intl.Collator. Line endings become LF. At most 50,000 lines are accepted.
Tool input is processed in a separate browser environment without advertising or analytics scripts. This page does not upload it to the service.