diff --git a/lib/file_storage.dart b/lib/file_storage.dart index 3c7af224..3e394e83 100644 --- a/lib/file_storage.dart +++ b/lib/file_storage.dart @@ -30,6 +30,8 @@ class FileStorage { notes.add(note); } + // Reverse sort + notes.sort((a, b) => b.compareTo(a)); return notes; }