heapfy

fun <T> Array<T>.heapfy(comparator: Comparator<T>)