Sort Lines of Text
Correct alphabetical order for Arabic and English, and true numeric order for numbers.
How to use it
- Paste your list into the top field, one item per line.
- Choose a sort method and direction.
- Copy the sorted list.
Alphabetical order in Arabic isn't a simple comparison of character codes. The naive sort most tools use puts hamza forms and alef maqsura in unexpected places and scrambles names. This tool uses proper Arabic language collation, so you get the ordering you actually expect.
Numeric ordering is the other common trap: a text sort puts 10 before 2 because it compares character by character. Choose numeric sorting and the values are compared as real numbers, so 2 comes before 10 as it should.