sort

fun <T> Comparator<T>.sort(list: MutableList<T>)