Add missing merge sort func