diff --git a/background.js b/background.js index ea062eb..c3f0b64 100644 --- a/background.js +++ b/background.js @@ -568,6 +568,27 @@ $(document).ready(function(){ else if((idx = (txt.toLowerCase()).indexOf("arrange heading".toLowerCase())) !==-1) { Speech("Arranging the headings of the tab"); + + // Code to arrange tabs alphabetically + // MEDIUM: 3 + var move = function(tabs){ + tabs.sort(function(a,b){ + if(a.title