<Descending order ZoneDateTime in list kotlin> I h...
# stackoverflow
u
Descending order ZoneDateTime in list kotlin I have list of ZoneDateTime. I want to order by descending order. I didn't find the solution. Can some one guide me. NearestResult(day=2020-05-09T200903+01:00, event=xyz) NearestResult(day=2020-05-09T091515+01:00, event=abc) NearestResult(day=2020-05-09T231515+01:00, event=qwe) NearestResult(day=2020-05-09T140040+01:00, event=aks) NearestResult.kt data class NearestResult( val day: ZonedDateTime, val event: String ) I tried some code but it's not working lis.groupBy { it.day...