From 4d16dbc21719ea9f32484084b186a20b22fe4640 Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Thu, 14 Jul 2022 20:54:18 +0300 Subject: Fix ordering --- build.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'build.js') diff --git a/build.js b/build.js index b81c740..c3d371c 100644 --- a/build.js +++ b/build.js @@ -56,7 +56,8 @@ const galleryViews = galleryJsonList columns, display_title, }; - }); + }) + .sort((a, b) => a["title"].localeCompare(b["title"])); const contactInfoJson = fs.readFileSync(CONTACT_INFO_PATH, "utf-8") const contactInfoView = JSON.parse(contactInfoJson); -- cgit v1.3