Fix test using depth sort constants
@utkarsh.ayachit @ben.boeckel This fixes the test failure. I'm inclined to suggest we revert this change from release-6.3 its more of a backwards compatibility break than I thought originally since these constants have to be used by client code as well.
Suggestion: master - merge this fix release-6.3 - revert changes