diff --git a/src/pages/community-partners.astro b/src/pages/community-partners.astro index 80463e190..4b49c96ad 100644 --- a/src/pages/community-partners.astro +++ b/src/pages/community-partners.astro @@ -4,12 +4,12 @@ import Layout from "@layouts/SectionLayout.astro"; import SponsorCard from "@components/SponsorCard.astro"; import Headline from "@ui/Headline.astro"; -const sponsors = await getCollection("sponsors", ({ data }) => { +const sponsors = (await getCollection("sponsors", ({ data }) => { const isProd = import.meta.env.MODE === "production"; const notDraft = !isProd || data.draft !== true; const isPartner = data.tier === "Partners"; return notDraft && isPartner; -}); +})).sort((a, b) => a.id.localeCompare(b.id)); ---