Sorts country list correctly with accents

Fixes #3911