Use stable mergesort for list_cut_position tests