I don't have anything implemented currently, still just planning things out. I think I am going to sort objects in the scene first by their y position, then by their fake z position.
EDIT: Sorting objects by y and z, I came up with this formulate for calculating the depth clamped to 255. Just need to figure out how to write these values to a depth buffer
depth = y + z minDepth = objectList.front().y + objectList.front().z maxDepth = objectList.back().y + objectList.back().z finalDepth = (255 / maxDepth) * (depth - minDepth)