Use sortWith function, that takes one comparator as a parameter to sort an array of custom objects. package net.javaguides.kotlin.examples import java.util.
確定! 回上一頁