Free Online Sort Lines Alphabetically

Sort lines of text alphabetically, numerically, by length, or randomly. Reverse and case-insensitive options.

Input
Output

How to Use This Sort Lines

Paste lines and choose a sort method. A→Z sorts alphabetically, Numeric sorts by leading number, By Length sorts shortest to longest.

How does numeric sort work?

Numeric sort extracts the leading number from each line and sorts by that value. Lines without numbers go to the end.

Does shuffle use true randomness?

It uses the Fisher-Yates shuffle with Math.random(), which provides good pseudo-random ordering.

Is my data stored?

No. All sorting runs locally in your browser.