diff --git a/src/main/java/com/application/munera/views/expenses/ExpensesView.java b/src/main/java/com/application/munera/views/expenses/ExpensesView.java index fc06a49..4ad3e44 100644 --- a/src/main/java/com/application/munera/views/expenses/ExpensesView.java +++ b/src/main/java/com/application/munera/views/expenses/ExpensesView.java @@ -276,7 +276,7 @@ public class ExpensesView extends Div implements BeforeEnterObserver { } private void refreshGrid() { - grid.setItems(this.expenseService.findAll()); + grid.setItems(this.expenseService.findAllOrderByDateDescending()); grid.select(null); grid.getDataProvider().refreshAll(); }