add:   var sortby = this._lastSortProperty; if (sortby == "") { this._lastSortAscending = false; this.sort("rawHost"); } else { this._lastSortAscending = !this._lastSortAscending; this.sort(sortby); } 
context:   clearFilter: function ()  {    // Revert to single-select in the tree    this._tree.setAttribute("seltype", "single");        // Clear the Filter and the Tree Display    document.getElementById("filter").value = "";    this._view._filtered = false;    this._view._rowCount = 0;    this._tree.treeBoxObject.rowCountChanged(0, -this._view._filterSet.length);    this._view._filterSet = [];    // Just reload the list to make sure deletions are respected    this._loadCookies();    this._tree.treeBoxObject.view = this._view;    // Restore open state    for (var i = 0; i < this._openIndices.length; ++i)      this._view.toggleOpenState(this._openIndices[i]);    this._openIndices = [];        // Restore selection    this._view.selection.clearSelection();    for (i = 0; i < this._lastSelectedRanges.length; ++i) {      var range = this._lastSelectedRanges[i];      this._view.selection.rangedSelect(range.min, range.max, true);    }    this._lastSelectedRanges = [];    document.getElementById("cookiesIntro").value = this._bundle.getString("cookiesAll");    document.getElementById("clearFilter").disabled = true;    document.getElementById("filter").focus();  },
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/10234/7c2fa7a818b8d5044297386905f3f88af3d3ffcb/cookies.js/clean/browser/components/preferences/cookies.js