docs: public void setComparator(int index, Comparator<T> comparator) {
  		if (comparator instanceof InvertibleComparator) {
  			this.comparators.set(index, (InvertibleComparator<T>) comparator);
  		}
  		else {
  			this.comparators.set(index, new InvertibleComparator<T>(comparator));
  		}
  	}