List<CropTask> getTasksSortedByDate() { final tasks = getAllTasks(); tasks.sort((a, b) => a.date.compareTo(b.date)); return tasks; }