in reply to Sorting Hash Value Object's IPv4 Address

According to the docs, Any of these should work:
sort { ip_sort() } keys %hash sort ip_sort(keys %hash) sort(ip_sortkeys %hash) sort(ip_sort (keys %hash))
Alshough the compare routine is not particularly efficient.

You may want to consider converting the IP to binary, and/or using the schwartzian transform.

        "I can cast out either one of your demons, but not both of them." -- the XORcist