Merge-sort transformed to work with doubles ....
It has to be converted to the qsort signature ....