From 81bb7a03c600d088af9982ecc910eb52f7a3a2f6 Mon Sep 17 00:00:00 2001 From: Jack Date: Sat, 16 May 2020 11:18:10 +0100 Subject: [PATCH] sorting the themes list alphabetically --- public/js/commandline.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/commandline.js b/public/js/commandline.js index 52745f4b0..2a746e439 100644 --- a/public/js/commandline.js +++ b/public/js/commandline.js @@ -237,7 +237,7 @@ let themesList; $.getJSON("themes/list.json", function(data) { commandsThemes.list = []; - themesList = data; + themesList = data.sort(); data.forEach(theme => { commandsThemes.list.push({ id: "changeTheme" + capitalizeFirstLetter(theme),