Penglab Lines

Sort Lines

Sort multiline text alphabetically with numeric-aware ordering.

Lines

Sorted lines

Quick guide

What this tool does

Sort multiline text alphabetically with numeric-aware ordering to organize copied lists quickly.

How to use it

Paste multiline text, sort the lines alphabetically with numeric-aware ordering, and copy the organized result.

When this tool is useful

Sort filenames, IDs, tags, or short records before review or import. Reorder copied text for easier scanning, comparison, or deduplication. Prepare structured line-based content before pasting into tools or docs.

Common use cases

Sort filenames

Sort filenames, IDs, tags, or short records before review or import.

Reorder copied text for easier

Reorder copied text for easier scanning, comparison, or deduplication.

Prepare structured line-based content before

Prepare structured line-based content before pasting into tools or docs.

Example input and output

Example input

item10
item2
item1

Expected output

item1
item2
item10

FAQ

How are numbers handled?

The sorter uses numeric-aware comparison so values like item2 come before item10.

Are duplicate lines removed?

No. This tool only sorts lines. Use Remove Duplicate Lines first if you want deduplication.

Does Sort Lines run in the browser?

Yes. Sort Lines works in the browser so you can enter data, review the result, and copy the output without needing a separate desktop app.

Related tools

Feedback