Using sortedWith() for sorting then reads list.sortWith( compareBy( Car::make ) ). • compareBy(comparator: Comparator<in K>, selector: (T) -> K): ...
確定! 回上一頁