Urutkan Daftar Objek Kustom di Kotlin
val messages = mutableListOf<Message>(
Message(from = "Tonnie", messageString = "Hi", timestamp = Date()),
Message(from = "Victoria", messageString = "Miss You", timestamp = Date()))
messages.sortWith(compareBy { it.timestamp })
Coder Thirteen