diff --git a/popup.js b/popup.js index 3d71e765..dd182e7a 100644 --- a/popup.js +++ b/popup.js @@ -52,6 +52,7 @@ chrome.tabs.getSelected(null, function(tab) { }); function showStyles(styles) { + styles.sort(function(a, b) { return a.name.localeCompare(b.name)}); var installed = document.getElementById("installed"); if (styles.length == 0) { installed.innerHTML = "
" + t('noStylesForSite') + "
";