Merge sort application