update sort-list using constant space solution, i.e. bottom-up merge sort approach.