reordered z-indices