/** * Returns the identifier of this {@link Sorter}. * * <p>This identifier is similar to {@link Object#hashCode()} and should be chosen so that two * instances of this class that sort documents likewise will have the same identifier. On the * contrary, this identifier should be different on different {@link Sort sorts}. */ public String getID() { return sort.toString(); }