Properly order IPs and make the IP list unique.