mask z-index && sort