Subject: | names_in_category method does not return sorted by population |
POD says that for names_in_category method: "The list is returned in
order of population by zone"
It appears to be returning the list in alpha order.
--------------------
use DateTime::TimeZone;
use Data::Dumper;
my @names = DateTime::TimeZone->names_in_category( 'America' );
print join "\n", @names;
--------------------
Output:
Adak
Anchorage
Anguilla
Antigua
Araguaina
Argentina/Buenos_Aires
Argentina/Catamarca
Argentina/Cordoba
Argentina/Jujuy
Argentina/La_Rioja
Argentina/Mendoza
Argentina/Rio_Gallegos
Argentina/Salta
Argentina/San_Juan
Argentina/San_Luis
Argentina/Tucuman
Argentina/Ushuaia
Aruba
Asuncion
Atikokan
...