bubble and merge sort