ivano
list.asSequence() .filter { entry -> !entry.isEncoded }.sortedByDescending { it.date }.sorted()