super(new DBMergeSortedSet<BindingsArrayReadTriples>(new SortConfiguration(),
new Comparator<BindingsArrayReadTriples>() {
public int compare(final BindingsArrayReadTriples arg0,
final BindingsArrayReadTriples arg1) {
final TripleComparator tc = new TripleComparator(
RDF3XIndexScan.CollationOrder.SPO);
final Iterator<Triple> it0 = arg0.getTriples()
.iterator();
final Iterator<Triple> it1 = arg1.getTriples()
.iterator();
while (it0.hasNext()) {
if (!it1.hasNext())
return -1;
final Triple t0 = it0.next();
final Triple t1 = it1.next();
final int compare = tc.compare(t0, t1);
if (compare != 0)
return compare;
}
if (it1.hasNext())
return 1;