An Objective-C mergesort implementation.