Put functions only dep. on data in Sort_merge.