Skip to content

Sort Lines

Sort text lines in ascending or descending natural order. Keep repeated lines and compare numbered items such as item2 and item10.

Mode

Input

18 chars3 lines

Result

Type or paste on the left — the result updates as you type.

Uses English Unicode collation with numeric ordering. It is not Japanese dictionary order; blank and duplicate lines remain.

Up to 100,000 UTF-16 units per input and 1,000,000 per result. See the supported formats and examples below.

Format references

Tool page updated: