tokens = new LinkedList<String>(Arrays.asList(orderby.split("\\s")));
curentToken = tokens.getFirst();
while (curentToken != null) {
SortColumn sortColumn = getSortColumn();
SortDirection sortDirection = getSortDirection();
log.debug("Add SortParameter(" + sortColumn + ", " + sortDirection + ")");
sortParameters.add(new SortParameter(sortColumn, sortDirection));
}
}