C: add merge_sort snippet