diff --git a/shiftregister/app/dynamic_preferences_registry.py b/shiftregister/app/dynamic_preferences_registry.py index 0f80a2d..d9f412e 100644 --- a/shiftregister/app/dynamic_preferences_registry.py +++ b/shiftregister/app/dynamic_preferences_registry.py @@ -12,7 +12,7 @@ class AllowedPhoneCountries(types.MultipleChoicePreference): name = "allowed_countries" choices = [ (f"{phonenumbers.country_code_for_region(cc)}", cc) - for cc in phonenumbers.SUPPORTED_REGIONS + for cc in sorted(phonenumbers.SUPPORTED_REGIONS) ] default = [49, 41, 43]