bugfix with network finding

Next hostname in ralph is shown incorrectly. That was because it ordered rack networks by name, which was stupid. Wider network could be based in different datacenter and still turn out as first. Now it is sorted by netmask.