bottom up merge sort