rem:  sortDirection = "ascending"; var currentDirection = node.getAttribute('sortDirection'); if (currentDirection == "ascending") sortDirection = "descending"; else if (currentDirection == "descending") sortDirection = "ascending"; else    sortDirection = "ascending";  rdfCore.doSort(node, sortKey, sortDirection);  return(true);  
context: function SortColumn(node, sortKey){	var rdfCore = XPAppCoresManager.Find("RDFCore");	if (!rdfCore)	{		rdfCore = new RDFCore();		if (!rdfCore)		{			return(false);		}		rdfCore.Init("RDFCore");	}	// sort!!!	sortDirection = "ascending";    var currentDirection = node.getAttribute('sortDirection');    if (currentDirection == "ascending")            sortDirection = "descending";    else if (currentDirection == "descending")            sortDirection = "ascending";    else    sortDirection = "ascending";    rdfCore.doSort(node, sortKey, sortDirection);    return(true);}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/00e4af13fbbad3e6ad03008c1a498aac8beb7e99/commandglue.js/clean/mailnews/base/resources/content/commandglue.js