diff --git a/src/pages/events/[...event].astro b/src/pages/events/[...event].astro index d463ab903a..623caa45bc 100644 --- a/src/pages/events/[...event].astro +++ b/src/pages/events/[...event].astro @@ -65,6 +65,9 @@ const sections = years.map((year) => { event.slug.endsWith('index.mdx') ); }) + .sort((a, b) => { + return new Date(b.data.start) - new Date(a.data.start); + }) .map((event, i) => { return { title: event.data.title,