On the other hand sorting doesn't need to have a global axis - in the perfect case it just needs to compare two elements against each other.
But even when using the depth buffer, drawing in front-to-back order will drastically improve performance as fragment shaders don't have to run for occluded fragments that get depth culled.