News for hackers. Stuff that matters.
Re:American Flag Sort by IncreasePosts on Wednesday April 24, 2024 @12:06AM (#40140447)
Isn't that exactly what the Unicode collation algorithm is?

https://unicode.org/reports/tr10

tl;dr from its wikipedia page:

> The Unicode collation algorithm (UCA) is an algorithm defined in Unicode Technical Report #10, which is a customizable method to produce binary keys from strings representing text in any writing system and language that can be represented with Unicode. These keys can then be efficiently compared byte by byte in order to collate or sort them according to the rules of the language, with options for ignoring case, accents, etc

Re:American Flag Sort by moonchild on Wednesday April 24, 2024 @04:09PM (#40148966)
Ah! You are right.