create/update datacentre: sort prefixes correctly