diff --git a/data/tasks.json b/data/tasks.json index 905147c..7518f12 100644 --- a/data/tasks.json +++ b/data/tasks.json @@ -482,7 +482,7 @@ ] } ], - "lastUpdated": 1771551566326, + "lastUpdated": 1771551794092, "sprints": [ { "name": "Sprint 1", diff --git a/src/app/page.tsx b/src/app/page.tsx index 1e3fa49..38de193 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -615,8 +615,10 @@ export default function Home() { className="w-full mt-2 px-3 py-2 bg-slate-800 border border-slate-700 rounded-lg text-white focus:outline-none focus:border-blue-500" > - {sprints.filter(s => s.projectId === selectedProjectId).map((sprint) => ( - + {sprints.sort((a, b) => new Date(a.startDate).getTime() - new Date(b.startDate).getTime()).map((sprint) => ( + ))}