Two way merge sort in c. If not, it is easy to convert them.