Fixed merge_sort for integers