Tuple t;
while ((t = (Tuple) ((PhysicalOperator)opTable.get(inputs[i])).getNext()) != null) {
inputToSpec.add(t);
}
inputToSpec.finishPipe();
Collections.sort(sortedInputs[i], new Comparator<Datum[]>() {
public int compare(Datum[] a, Datum[] b) {
return a[0].compareTo(b[0]);
}