update ipsort.pl to sort list of foreign IP addresses