From 7b41199c1ea6a409323affae443ff31c1205bcd6 Mon Sep 17 00:00:00 2001
From: Joe Banks <joe@jb3.dev>
Date: Mon, 29 Apr 2024 02:35:25 +0100
Subject: Actually sort services alphabetically

---
 src/pages/index.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/pages/index.tsx')

diff --git a/src/pages/index.tsx b/src/pages/index.tsx
index 71b9312..eb65fc6 100644
--- a/src/pages/index.tsx
+++ b/src/pages/index.tsx
@@ -59,7 +59,7 @@ const IndexPage: React.FC<IndexPageProps> = ({ data }) => {
         <ServicesHolder>
           {data.services.nodes.sort().filter(
             service => selectedTag ? service.tags.includes(selectedTag) : true
-          ).sort()
+          ).sort((a, b) => a.name.localeCompare(b.name))
             .map((service, index) => (
               <Service key={index} {...service} />
             ))}
-- 
cgit v1.2.3

