rem: var isupports = Components.classes["@mozilla.org/rdf/xul-sort-service;1"].getService(); 
add: var isupports = Components.classes["@mozilla.org/xul/xul-sort-service;1"].getService(); 
context: function doSort(sortColName, naturalOrderResource){	var node = document.getElementById(sortColName);	// determine column resource to sort on	var sortResource = node.getAttribute('resource');	if (!sortResource) return(false);	var sortDirection="ascending";	var isSortActive = node.getAttribute('sortActive');	if (isSortActive == "true")	{		sortDirection = "ascending";		var currentDirection = node.getAttribute('sortDirection');		if (currentDirection == "ascending")		{			if (sortResource != naturalOrderResource)			{				sortDirection = "descending";			}		}		else if (currentDirection == "descending")		{			if (naturalOrderResource != null && naturalOrderResource != "")			{				sortResource = naturalOrderResource;			}		}	}	var isupports = Components.classes["@mozilla.org/rdf/xul-sort-service;1"].getService();	if (!isupports)    return(false);	var xulSortService = isupports.QueryInterface(Components.interfaces.nsIXULSortService);	if (!xulSortService)    return(false);	try	{		xulSortService.Sort(node, sortResource, sortDirection);	}	catch(ex)	{		debug("Exception calling xulSortService.Sort()");	}	return(true);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/baa7c8321ee8d56f8a83d4ae76599ff601b4c188/shared.js/clean/suite/common/search/shared.js