sort countries max -> min
(cherry picked from commit f1cb146)