context: function DoSort(column, key, direction){  var isupports = Components.classes["@mozilla.org/xul/xul-sort-service;1"].getService();  if (!isupports)    return false;    var xulSortService = isupports.QueryInterface(Components.interfaces.nsIXULSortService);  if (!xulSortService)    return false;  var node = document.getElementById(column);    if (node) {    var selectionArray = RememberResultsTreeSelection();    if (selectionArray.length) {      xulSortService.Sort(node, key, direction);      ClearResultsTreeSelection();      WaitUntilDocumentIsLoaded();      RestoreResultsTreeSelection(selectionArray);    }    else {      try {        xulSortService.Sort(node, key, direction);        WaitUntilDocumentIsLoaded();      }      catch(ex) {        dump("failed to do sort\n");      }    }   }  return true;}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/0b2dd2b2d2fd037df917e07645fa019a963332a5/abCommon.js/buggy/mailnews/addrbook/resources/content/abCommon.js