rem: gHistoryTree.setAttribute("ref", "NC:HistoryByDate"); 
add: gHistoryTree.setAttribute("ref", "NC:HistoryRoot"); SortBy("name"); 
context: function GroupBy(groupingType){    gHistoryGrouping = groupingType;    switch(groupingType) {    case "none":        gHistoryTree.setAttribute("ref", "NC:HistoryRoot");        break;    case "site":        // xxx for now        gHistoryTree.setAttribute("ref", "NC:HistoryByDate");        break;    case "dayandsite":        gHistoryTree.setAttribute("ref", "NC:HistoryByDateAndSite");        break;    case "day":    default:        gHistoryTree.setAttribute("ref", "NC:HistoryByDate");        break;    }    gSearchBox.value = "";}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/7ab4aee4455984d7dc8b5a726d9a10c8662c76ca/history.js/buggy/browser/components/history/content/history.js