sorting the themes list alphabetically

This commit is contained in:
Jack 2020-05-16 11:18:10 +01:00
parent 13cb7fb5f7
commit 81bb7a03c6

View file

@ -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),