Dataweave interview question

Explain merge sort algorithm in detail