public void setRowSorter(RowSorter<? extends TableModel> sorter) {
    myTable.setRowSorter(sorter);

    final JTable ref = myTreeTableHeader.getTable();
    ref.setModel(myTable.getModel());
    ref.setRowSorter(sorter);
  }
public void setRowSorter(RowSorter<? extends TableModel> sorter)