sort nodes by datacenter in renamenodes