Merge sort using multiple posix threads.