public static DepthComparator instance() {
        return instance;
    }
A {@code Comparator} that compares steps on the depth of the traversal that they are in.
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/util/DepthComparator.java