network.Resolver: Fixes address preference sorting.