added isless() for IPAddrs - enables sorting and comparisons

made isless() a one-liner

make sure types are the same, and add some tests

more tests
Merge pull request #9399 from sbromberger/ipaddr-isless

added isless() for IPAddrs - enables sorting and comparisons