Sort Text Lines

Sort lines alphabetically, by length, numerically, by word count, randomly and more. 8 sort modes with reverse, case-sensitive and unique line options.

🔤 A → Z Alphabetical ascending
🔡 Z → A Alphabetical descending
📏 Shortest First By character length ↑
📐 Longest First By character length ↓
🔢 1 → 9 Numerical ascending
🔣 9 → 1 Numerical descending
📝 Word Count By number of words
🎲 Random Shuffle Fisher-Yates shuffle
A → Z Alphabetical mode
Input Lines
Sorted Output
Sorted lines will appear here…
0
Total Lines
0
Unique Lines
0
Duplicates
A→Z
Sort Mode
Quick Examples — Click to Load
🍎 Fruits
🔢 Numbers
👤 Names
📝 Sentences
🔀 Mixed Case
💡 Use Numerical sort to sort numbers correctly (10 comes after 9, not after 1). Enable Remove Duplicates to get a unique sorted list!