Write a code for merge sort in c++ for array of floats