INDEPENDENT EXPLAINERS · GLOBAL EDITIONEvidence first. Perspective follows.
All tools

Sort lines naturally

Processed in this browser. Nothing is uploaded.

Example

Example: item10
item2
item1

Case-sensitive. Text is treated literally. Maximum 1,000,000 characters.

How to use this result

Sort one item per line using the page language’s text comparison rules and natural numeric ordering. Use this for filenames, inventory labels or numbered items that should place item2 before item10.

Worked example

text: item10
item2
item1
item1
item2
item10

Limits and edge cases

Duplicate and blank lines are not removed. The position of accents, punctuation and mixed-case text can depend on the page language and browser. This sorts whole lines, not columns inside a CSV file.