List of countries is actually alphabetically sorted.
authorDaniel Hans <Daniel.M.Hans@gmail.com>
Fri, 07 Aug 2009 02:06:33 +0200
changeset 2737 5b43af491b93
parent 2736 8f3935f0f4ba
child 2738 5723f329d098
List of countries is actually alphabetically sorted.
app/soc/models/countries.py
--- a/app/soc/models/countries.py	Fri Aug 07 01:27:24 2009 +0200
+++ b/app/soc/models/countries.py	Fri Aug 07 02:06:33 2009 +0200
@@ -266,7 +266,7 @@
     }
 
 # List of all countries and territories
-COUNTRIES_AND_TERRITORIES = COUNTRY_INFO.keys() 
+COUNTRIES_AND_TERRITORIES = sorted(COUNTRY_INFO.keys())
 
 # Mapping of countries to their CCTLD
 COUNTRIES_TO_CCTLD = dict((k, c) for k, (c, _) in COUNTRY_INFO.items())