rem: function SetSortingAndGrouping() { 
add: function SetSortingAndGrouping(aOptions) { 
context: function SetSortingAndGrouping() {  const NHQO = Ci.nsINavHistoryQueryOptions;  var sortingMode;  var groups = [];  switch (gHistoryGrouping) {    case "site":      sortingMode = NHQO.SORT_BY_TITLE_ASCENDING;      break;     case "visited":      sortingMode = NHQO.SORT_BY_VISITCOUNT_DESCENDING;      break;     case "lastvisited":      sortingMode = NHQO.SORT_BY_DATE_DESCENDING;      break;     case "dayandsite":      groups.push(NHQO.GROUP_BY_DAY);      groups.push(NHQO.GROUP_BY_HOST);      sortingMode = NHQO.SORT_BY_TITLE_ASCENDING;      break;    default:      groups.push(NHQO.GROUP_BY_DAY);      sortingMode = NHQO.SORT_BY_TITLE_ASCENDING;      break;  }  var options = asQuery(gHistoryTree.getResult().root).queryOptions;  options.setGroupingMode(groups, groups.length);  options.sortingMode = sortingMode;}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8395/41a9b3f399aee6c328cb4a053cb3ffb62716f2d4/history-panel.js/buggy/browser/components/places/content/history-panel.js