groupFields.add(sortFields.get(0));
// create wrapper factory
ObjectWrapperFactory wrapperFactory = new ObjectWrapperFactory(context,
table.getVar(), groupFields);
// create wrapper for last data
JavaBeanWrapper wrappedLstD = wrapperFactory.wrapObject(holder
.getLastData());
// create wrapper for current data
JavaBeanWrapper wrappedActD = wrapperFactory.wrapObject(table
.getRowData());
// create comparator