public void sort(int colNo, boolean reverse) {
    model.sort(colNo, reverse);
    jtable.setRowSelectionInterval(0, 0);
    ensureRowIsVisible(0);
  }
public void sort(int colNo, boolean reverse) {
    model.sort(colNo, reverse);
    jtable.setRowSelectionInterval(0, 0);
    ensureRowIsVisible(0);
  }
public void sort ( int colNo , boolean reverse ) { model . sort ( colNo , reverse ) ; jtable . setRowSelectionInterval ( 0 , 0 ) ; ensureRowIsVisible ( 0 ) ; }
Sort the rowList: note rowList changed, not a copy of it.
@param colNo sort on this column
@param reverse if true, reverse sort
Sort the rowList : note rowList changed not a copy of it .