rem: function compare (a, b) { if (a.name == b.name) return 0; else if (a.name > b.name) return 1; else return -1; }  this.commands.push ({name: name, func: func, usage: usage, help: help}); this.commands = this.commands.sort(compare);  
add: this.commands[command.name] = command; 
context: function cmgr_add (name, func, usage, help){    function compare (a, b)    {        if (a.name == b.name)            return 0;        else            if (a.name > b.name)                return 1;            else                return -1;    }        this.commands.push ({name: name, func: func, usage: usage, help: help});    this.commands = this.commands.sort(compare);    }
meta: 1622	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1622/3df45f52a2f3a304b5c3c14817a3c2c3cbfc6921/command-manager.js/buggy/js/lib/command-manager.js