the first array to be merged
the second array to be merged
a 2-parameter
function returning a number n, telling if the 1st parameter is
less-than (n < 0), equal (n == 0) or greater than the 2nd (n > 0)
a new array with the union of the elements af
anArray1 and anArray2 sorted
Merges two sorted arrays
anArray1andanArray2according to the comparatoraCmpFun.Both arrays are supposed to be sorted according to
cmpFun.This function is used in particular in the arrayMergeSortGen function. It uses a recursive algorithm, but is not pure.