sortDirText = (String) MethodUtils.invokeExactMethod(sortDir, NAME, null);
} catch (Exception e) {
logger.error(Tools.getStackTrace(e));
}
if ("ASC".equalsIgnoreCase(sortDirText)){
Collections.sort(list, new AsignadoTareaComparatorASC());
} else {
Collections.sort(list, new AsignadoTareaComparatorDESC());
}
Integer offset = (Integer)params.get(OFFSET);
Integer limit = (Integer)params.get(LIMIT);