fix ordering of znode entries