sortWith

fun <T> ObservableList<T>.sortWith(comparator: Comparator<in T>)