So we need collation for sorting. The tricky part is that collation has to be generally tied to a locale.
Different languages have different sorting expectations, but I suppose std::locale("en_US.UTF-8") should do what we expect for sorting purposes.
https://en.cppreference.com/w/cpp/locale/collate.html
- Alan
Different languages have different sorting expectations, but I suppose std::locale("en_US.UTF-8") should do what we expect for sorting purposes.
https://en.cppreference.com/w/cpp/locale/collate.html
- Alan