diff --git a/lib/api.ts b/lib/api.ts index 66e9311..5265f69 100644 --- a/lib/api.ts +++ b/lib/api.ts @@ -577,7 +577,7 @@ export async function getTopLevelPageNames() { const data = await fetchAPI( ` query TopLevelPages { - topLevelPages { + topLevelPages(sort: "id:asc") { data { attributes { name @@ -668,7 +668,7 @@ export async function getTopLevelPageData() { const data = await fetchAPI( ` query TopLevelPages { - topLevelPages(filters: { name: { notContains: "About" } }) { + topLevelPages(filters: { name: { notContains: "About" } }, sort: "id:asc") { data { attributes { heroImage {