sorting: Rename merge tuple to merge-state.