
4 Jan
2024
4 Jan
'24
5:09 p.m.
Issue #20148 has been reported by zohaibnadeem13@gmail.com (Zohaib Nadeem). ---------------------------------------- Bug #20148: Sorting not working as expected on Urdu words. https://bugs.ruby-lang.org/issues/20148 * Author: zohaibnadeem13@gmail.com (Zohaib Nadeem) * Status: Open * Priority: Normal * ruby -v: 3.1.4 * Backport: 3.0: UNKNOWN, 3.1: UNKNOWN, 3.2: UNKNOWN, 3.3: UNKNOWN ---------------------------------------- I was trying to sort an array of Urdu characters and found out an ambiguity in the result. Here is the script that I am using. ['ا', 'پ', 'ب', 'ت', 'ٹ'].sort Actual Result: ["ا", "ب", "ت", "ٹ", "پ"] Expected Result: ["ا", "ب", 'پ', "ت", "ٹ"] -- https://bugs.ruby-lang.org/