code: private void sortEntriesForDimension(int d, int[] entriesByLB, int[] entriesByUB) {
      // Lists which hold entries sorted by their lower and
      // upper bounds in the current dimension.
      etdc.set(d, true);
      IntegerArrayQuickSort.sort(entriesByLB, etdc);
      etdc.setLb(false);
      IntegerArrayQuickSort.sort(entriesByUB, etdc);
    }
docs: Indirectly sort the entries into the arrays
  <code>entriesByLB</code> and <code>entriesByUB</code> by lower and upper
  bound of dimension <code>d</code>.
  
  @param d selected dimension
  @param entriesByLB entry array to be sorted by the lower bound of
  <code>d</code> (must be initialized to a valid selection of indices
  @param entriesByUB entry array to be sorted by the upper bound of
  <code>d</code> (must be initialized to a valid selection of indices