rem: node.setAttribute('rdf:resource2', secondarySortKey); 
add: node.setAttributeNS(gRDFNamespace, 'resource2', secondarySortKey); 
context: function SortColumn(node, sortKey, secondarySortKey, direction){	dump('In sortColumn\n');	var xulSortService = Components.classes["component://netscape/rdf/xul-sort-service"].getService();	if (xulSortService)	{		xulSortService = xulSortService.QueryInterface(Components.interfaces.nsIXULSortService);		if (xulSortService)		{			// sort!!!			var sortDirection;			if(direction)				sortDirection = direction;			else			{				var currentDirection = node.getAttribute('sortDirection');				if (currentDirection == "ascending")						sortDirection = "descending";				else if (currentDirection == "descending")						sortDirection = "ascending";				else    sortDirection = "ascending";			}			try			{				if(secondarySortKey)					node.setAttribute('rdf:resource2', secondarySortKey);				xulSortService.Sort(node, sortKey, sortDirection);			}			catch(e)			{                		//dump("Sort failed: " + e + "\n");			}		}	}}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/672b82ae8216e44e7adea82f2a5a58bc0c07e87f/commandglue.js/clean/mailnews/base/resources/content/commandglue.js