merge k sorted lists
rename min/max to less_than/more_than