code: public void setComparator(int index, Comparator<T> comparator) throws IndexOutOfBoundsException {
          setComparator(index, comparator, false);
      }
docs: Replace the Comparator at the given index, maintaining the existing sortFields order.
  
  @param index      index of the Comparator to replace
  @param comparator Comparator to place at the given index
  @throws IndexOutOfBoundsException if index &lt; 0 or index &gt;= size()