Hi there, I am trying to sort on cities but it doesn't seem to yield the right sort: here is my code snippet: foreach $country ( keys %world){ foreach $city ( sort keys %{$world{$country}}) { foreach my $street ( keys %{$world{$country}{$city}} ANybody know what's wrong with this Thanks I.S __________________________________________________________________ Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/ Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]