Added a bottom-up merge sort.