(lldb) p [@"ΗΙzzz" caseInsensitiveCompare:@"ᾚabc"]
(long long) -1
(lldb) p [@"ᾚabc" caseInsensitiveCompare:@"ΗΙzzz"]
(long long) -1
Note the unicode char in the second string. The results can't be both -1, afaik, if one is -1 the other one should be +1.
This causes inconsistent indexing in a sorted array resulting in obscure crashes of my app.
Am I doing something wrong?
Tested on iOS 27 and macOS 26.6.