moveAll

fun <T> MutableList<T>.moveAll(newIndex: Int, predicate: (T) -> Boolean)

Moves all items meeting a predicate to the given index