http://qs321.pair.com?node_id=431688


in reply to Re^2: sorting ip octets
in thread sorting ip octets

Have a look at the Socket module which has tools for converting IP addresses into their integer form and back. inet_aton() and inet_ntoa() come to mind...

---
demerphq