add: SortInNewDirection(find_sort_direction(find_sort_column())); 
context: function HistoryCommonInit(){    gHistoryTree =  document.getElementById("historyTree");        gSearchBox = document.getElementById("search-box");    var treeController = new nsTreeController(gHistoryTree);    gHistoryGrouping = document.getElementById("viewButton").getAttribute("selectedsort");    if (gHistoryGrouping == "site")      document.getElementById("bysite").setAttribute("checked", "true");    else if (gHistoryGrouping == "visited")      document.getElementById("byvisited").setAttribute("checked", "true");    else if (gHistoryGrouping == "lastvisited")      document.getElementById("bylastvisited").setAttribute("checked", "true");    else if (gHistoryGrouping == "dayandsite")      document.getElementById("bydayandsite").setAttribute("checked", "true");    else      document.getElementById("byday").setAttribute("checked", "true");    gHistoryTree.focus();    gHistoryTree.treeBoxObject.view.selection.select(0);}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/7ab4aee4455984d7dc8b5a726d9a10c8662c76ca/history.js/buggy/browser/components/history/content/history.js