Sort string array with special characters
I need to sort an array with special sw开发者_运维知识库edish characters. When it reaches a character such as Ö, it will place it in the back of the array. How do I compare the characters, according to the swedish alphabet?
Check out locale-dependent ordering for std::string for locale-specific character and string comparison.
精彩评论