public void setComparator(GeometryComparator comparator) {
        this.comparator = comparator;
    }
Initializes the GeometryList to use the given {@link GeometryComparator}
to use for comparing geometries.

@param comparator The comparator to use.
jme3-core/src/main/java/com/jme3/renderer/queue/GeometryList.java