Add the min heap sort algorithm based on the max heap sort algorithm