);
inputCursor.openTopLevel();
try {
PersistitSorter sorter = new PersistitSorter(context, bindings, inputCursor, rowType, ordering, API.SortOption.PRESERVE_DUPLICATES, tap);
RowCursor sortedCursor = sorter.sort();
sortedCursor.open();
try {
while(sortedCursor.next() != null) {
// None
}
} finally {
sortedCursor.close();
}
} finally {
inputCursor.closeTopLevel();
}
}