Newgen Software interview question

Merge Sort with Code and explain