merge sort and bubble sort