Vaayda Yaasra wrote:
Here’s an example in Syriac:
ܡܠܬܐ
ܒܝܬܐ
ܒܪܢܫܐ
ܡܠܬܐ
Sort produces the following:
ܡܠܬܐ
ܒܝܬܐ
ܡܠܬܐ
ܒܪܢܫܐ
This is a property of your locale, so I suggest sending a bug report to whoever
maintains your locale. You should be able to reproduce the problem by bypassing
GNU 'sort' entirely and using the C strcoll function.
For what it's worth, I observe the problem on Ubuntu 18.04 but not on Fedora 28.
As Fedora tends to be more up-to-date, perhaps the problem is fixed already in
glibc.