updated ipsort to only list unique IPs