moveUpAll

inline fun <T> MutableList<T>.moveUpAll(crossinline predicate: (T) -> Boolean)

Moves all T elements up an index that satisfy the given predicate, unless they are already at the top