@Deprecated
  public static int[] normalizeRows(final CTableSorter sorter, final int[] sortedRows) {
    final int[] rawRows = new int[sortedRows.length];

    for (int i = 0; i < sortedRows.length; i++) {
      rawRows[i] = sorter.modelIndex(sortedRows[i]);
    }

    return rawRows;
  }
Converts between sorted row indices and raw row indices of the underlying data provider.

@param sorter Table sorter used the conversion.
@param sortedRows Array of sorted row indices.
@return Array of corresponding raw row indices.
java/zylib/src/main/java/com/google/security/zynamics/zylib/gui/tables/TableHelpers.java