code: private Table sortOn(IntComparator rowComparator) {
          Table newTable = emptyCopy(rowCount());
  
          int[] newRows = rows();
          IntArrays.parallelQuickSort(newRows, rowComparator);
  
          Rows.copyRowsToTable(newRows, this, newTable);
          return newTable;
      }
docs: Returns a copy of this table sorted using the given comparator