JuliaLang/julia — pull request #9399 by sbromberger (2014-12-18 05:13:42+00:00)
Title: added isless() for IPAddrs - enables sorting and comparisons

Hi -

Following on `IPAddr` enhancements, I'd appreciate consideration of this PR. Because `IPAddr.host` is `UInt32` for v4 and `UInt128` for v6, we can implement `isless()` for the addresses themselves. This will allow rapid sorting of arrays of `IPAddr` types.