public void orderBy(IQueryResultSet<IEntryPacket> entries,List<OrderColumn> orderColumns) throws SQLException {
  Collections.sort((List<IEntryPacket>)entries,getOrderByComparator(entries,orderColumns));
}

public void orderBy ( IQueryResultSet < IEntryPacket > entries , List < OrderColumn > orderColumns ) throws SQLException { Collections . sort ( ( List < IEntryPacket > ) entries , getOrderByComparator ( entries , orderColumns ) ) ; }
order the results according to the order by clause
