mergesort exists in bsd stdlib