reverse

fun <T> reverse(list: MutableList<T>)