More depth sorting goodness