From dd3dd503ce80a2aea67b39fbf5567f4200f50fc3 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),