Pump: in Iterator merge, replace linear scan with TreeSet.

Result is faster sorting for larger number of iterators