I have the following List of ZonedDateTime which is basically read from xml fields in Scala:
var timestamps = List[ZonedDateTime]()
timestampNodes.foreach(node => timestamps = timestamps :+ ZonedDateTime.parse(node.text, DateTimeFormatter.ISO_OFFSET_DATE_TIME))
What is the best and fastest way to sort the timestamps List so that entries are sorted from oldest to newest?