Ahmad Azizi <activep...@gmail.com> added the comment: Remember, sorting standard Persian(Farsi) characters does not work properly with current implementation of Python 3.x As the result, python is probably unable to sort properly in some other languages.
Here is correct order of alphabet in Persian: "آ", "ا", "ب", "پ", "ت", "ث", "ج", "چ", "ح", "خ", "د", "ذ", "ص", "ض", "ط", "ظ", "ع", "غ", "ف", "ق", "ک", "گ", "ك", "ل", "م", "ن", "و", "ه", "ی", "ي", After sorting using sorted(): آ, ا, ب, ت, ث, ج, ح, خ, د, ذ, ص, ض, ط, ظ, ع, غ, ف, ق, ك, ل, م, ن, ه, و, ي, پ, چ, ک, گ, ی, ---------- nosy: +Ahmad Azizi _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue12735> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com