querySelection.clear();
for (Object o : resultList.getSelectedValues())
{
querySelection.add(o);
}
SetExpression se=qp.getExpression();
historyList.addQuery( line);
Enumeration<?> e=se.evaluate( container.getDataSource());
ArrayList<Object> resultSorter = new ArrayList<Object>();
while ( e.hasMoreElements())
resultSorter.add(e.nextElement());
Collections.sort(resultSorter, new Comparator<Object>() {