rem: var order = aOrder == -1 ? -1 : 1; gConsole.sortOrder = order; document.persist("ConsoleBox", "sortOrder"); updateSortCommand(order); 
add: updateSortCommand(gConsole.sortOrder = aOrder); 
context: function changeSortOrder(aOrder){  var order = aOrder == -1 ? -1 : 1; // default to 1  gConsole.sortOrder = order;  document.persist("ConsoleBox", "sortOrder");  updateSortCommand(order);}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/737fe4edb67ae368c9205aa44a639fceee42e11a/console.js/buggy/xpfe/components/console/resources/content/console.js