3 ms·
> not every single piece of software fucks up something as basic as string sorting it is neither basic nor simple. Have you ever heard of UTF-8 and locales? H
by bashkiddie 1y ago
> not every single piece of software fucks up something as basic as string sorting
it is neither basic nor simple. Have you ever heard of UTF-8 and locales?
Here is an exercise for the curious reader:
Pick any UTF-8 string "a", and another one "b", so that in increasing lexicographical order "a" sorts after "a+b" ("a" concatenated by "b"). ("a" > "a+b")