Added ChunkSizeIterator which will look ahead to see if it neccessary to externally sort the iterator.