urls.pl replace count with foreach
urls.pl sorting the hash value