@Override
    public int compare(final Element elementA, final Element elementB) {
        return this.valueComparator.compare(elementA.value(this.propertyKey), elementB.value(this.propertyKey));
    }
@author Marko A. Rodriguez (http://markorodriguez.com)
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/util/ElementValueComparator.java