partitioned sorted buffer can be used to merge lists.