shiftDown

fun <T> Array<T>.shiftDown(index: Int, upTo: Int, comparator: Comparator<T>)