Excel is not sorting letter correctly

I have a weird problem with Excel: it is sorting the letter "CH" incorrectly (it places "CH" after "CZ"). As you can see in the attached image, it only happens with "CH" and not with any other combination like "AH", "DH". Anyone has an idea what is going on?

sort


Solution 1:

Based on the querent’s response to a suggestion in the comments, it appears that Excel uses the system language setting for sorting. As such, if the language is one that considers the CH digraph a separate letter from C, this issue may occur in sorting. See Wikipedia on the CH digraph for more information; Spanish is one of several languages that might cause this issue.