diff --git a/hindsight-control-plane/src/components/data-view.tsx b/hindsight-control-plane/src/components/data-view.tsx index 1e073c92..236561e8 100644 --- a/hindsight-control-plane/src/components/data-view.tsx +++ b/hindsight-control-plane/src/components/data-view.tsx @@ -1003,7 +1003,7 @@ function TimelineView({ }); return Object.entries(groups) - .sort(([a], [b]) => a.localeCompare(b)) + .sort(([, a], [, b]) => a.date.getTime() - b.date.getTime()) .map(([key, { items, date }]) => ({ key, label: getGroupLabel(key, date),