All tools

Sort Lines

Alphabetize or numerically sort a list of lines.

Result
10
2
apple
banana
cherry
date

About

Paste lines and pick a sort: alphabetical, reverse alphabetical, numeric, by length, or random shuffle. Whitespace and case can be ignored. Empty lines are kept or dropped based on a toggle.

How to use

  1. Paste your lines.
  2. Pick the sort method.
  3. Copy the result.

FAQ

What's the difference between alphabetical and numeric sort?+

Alphabetical sorts '10' before '2' because '1' comes before '2' as a character. Numeric sort treats them as numbers, so '2' comes first.