Mergesorts, some heapsorts