sortedWith (compareBy<SomeObject,String?>(nullsLast(), { it.name })) println(sorted) ... sortWith(nullsLast(compareBy { it.second })) println(sortedValues)
確定! 回上一頁