code: public <T extends Comparable<T>> void sort(List<T> list)
      {
          sort(list, defaultComp);
      }
docs: Adjust this index table to contain the sorted index order for the given
  list
  @param <T> the data type
  @param list the list of objects