From the cap Im not exactly sure what you want to happen.
I can tell you there's a difference between z order, and z height.
Z order gives you the order in which objects are drawn to the screen. Z height gives the object an aspect ratio to the camera's view point.
In this case I believe you will want to use the y coordinates rather than the z height.