merge_sort: constness