Infosys interview question

Write a program for sorting use merge sort.