diff --git a/src/constants/sections.ts b/src/constants/sections.ts index 06183b3..4b8f2dd 100644 --- a/src/constants/sections.ts +++ b/src/constants/sections.ts @@ -108,7 +108,7 @@ sections.forEach(async (section) => { const pages = await getSectionPages(section.key); - section.items = pages.sort((a, b) => a.title.localeCompare(b.title)); + section.items = pages.sort(); }); export { sections };