GlobalLogic interview question

They asked me to implement MergeSort Alogoritms