How to Sort Text
Paste text with one item per line
Choose sort type from dropdown
Toggle case-sensitive if needed
Result updates instantly
Click Copy to use sorted text
Key Features
Five Sort Methods
A→Z: Alphabetical ascending. Z→A: Alphabetical descending. Reverse: Flip line order. Randomize: Shuffle lines randomly. Remove Duplicates: Keep unique lines only.
Case Sensitivity Control
Case-sensitive: 'Apple' ≠ 'apple'. Case-insensitive: treats as same. Affects both sorting and duplicate detection.
Instant Processing
Live updates as you type or change options. No process button needed. Handles thousands of lines instantly.
Privacy & Security
All sorting happens in browser using JavaScript array methods. Zero uploads—your text never leaves your device.
Frequently Asked Questions
What's the difference between case-sensitive and case-insensitive sorting?
Case-sensitive: 'Zebra' comes before 'apple' (capitals first). Case-insensitive: 'apple' comes before 'Zebra' (ignores capitalization). For duplicates: case-sensitive keeps both 'Apple' and 'apple', case-insensitive removes one.
How does randomize work?
Uses Fisher-Yates shuffle algorithm for truly random order. Each click produces different arrangement. Useful for prize draws, random selection, shuffling playlists.
Can I sort numbers?
Yes. Numeric sorting works: 1, 2, 10, 100 (not 1, 10, 100, 2). Mixed text/numbers sort as text unless all lines are pure numbers.