diff --git a/src/main/java/com/sparrowwallet/sparrow/control/UtxosTreeTable.java b/src/main/java/com/sparrowwallet/sparrow/control/UtxosTreeTable.java index 3b802c6e..b4007216 100644 --- a/src/main/java/com/sparrowwallet/sparrow/control/UtxosTreeTable.java +++ b/src/main/java/com/sparrowwallet/sparrow/control/UtxosTreeTable.java @@ -24,6 +24,7 @@ public class UtxosTreeTable extends CoinTreeTable { }); dateCol.setCellFactory(p -> new DateCell()); dateCol.setSortable(true); + dateCol.setComparator((o1, o2) -> (int) (o2.getValue() - o1.getValue())); getColumns().add(dateCol); TreeTableColumn outputCol = new TreeTableColumn<>("Output");