diff --git a/manage.js b/manage.js index 0a5072bf..b448e69b 100644 --- a/manage.js +++ b/manage.js @@ -10,6 +10,7 @@ appliesToExtraTemplate.innerHTML = " " + t('appliesDisplayTruncatedSuffix'); chrome.extension.sendMessage({method: "getStyles"}, showStyles); function showStyles(styles) { + styles.sort(function(a, b) { return a.name.localeCompare(b.name)}); var installed = document.getElementById("installed"); styles.map(createStyleElement).forEach(function(e) { installed.appendChild(e);