allocate a tighter temporary array in MergeSort
Merge pull request #8157 from rfourquet/sort-tightmerge

allocate a tighter temporary array in MergeSort