public void sort(final DataComparator... comparators){
synchronized (rows) {
    RecordComparator comparator=new RecordComparator(comparators);
    Collections.sort(rows,comparator);
  }
}

public void sort ( final DataComparator ... comparators ) { synchronized ( rows ) { RecordComparator comparator = new RecordComparator ( comparators ) ; Collections . sort ( rows , comparator ) ; } }
sorts the table rows with the specified datacomparators . the row values are compared in the way the comparators are specified .
