Sort Lines
Sort your text lines five ways: ascending or descending alphabetical with correct Arabic collation, by line length, reverse current order, or random shuffle (for draws and quizzes). With true numeric sorting where 2 comes before 10, and case-insensitive option.
How to use this tool?
- You pick your files
Straight from your device — no upload, no waiting
- Your browser processes them
Everything runs locally on your own hardware
- You download the result
Output files are built and saved on your device instantly
FAQ
Is Arabic sorting correct with hamzas?
Yes — we use Arabic locale comparison which orders hamza, alef and yaa in proper dictionary order.
What is numeric sorting for?
Plain text sort puts "10" before "2" — numeric sort reads values so 1, 2, 10 order correctly.
Is random shuffle fair?
Yes — the Fisher-Yates algorithm gives every line an equal chance at every position, the standard for draws.