ipaddr: remove unnecessary sorting