On 4/10/20 6:19 AM, Ole Tange wrote:
But would it be possible to convert the input string1 into a string in
a generalized format, which would sort the same way as the localized
sort, but using a simple compare?
I tried doing that a long time ago by using strxfrm, but it made 'sort'
I have noticed that if locale is set, then sort becomes much slower.
I imagine that it is because instead of doing
simple_compare(string1,string2)
it does:
localized_compare(string1,string2)
But would it be possible to convert the input string1 into a string in
a generalized format, which