i.hasNext();) {
BeanSorter.SortCriterion bsc
= (BeanSorter.SortCriterion)i.next();
SortCriterion sc = null;
if (bsc.isAscending()) {
sc = new AscendingOrder(bsc.getProperty());
} else {
sc = new DescendingOrder(bsc.getProperty());
}
if (sortCriterion == null) {
sortCriterion = sc;