MergeSort done in JS.