rem: else if (sortDirection == "descending") sortDirection = "natural"; 
context: function onSortCol(sortColName){    const nsIXULSortService = Components.interfaces.nsIXULSortService;    const isupports_uri = "@mozilla.org/xul/xul-sort-service;1";        var node = document.getElementById(sortColName);    if (!node)        return false;     // determine column resource to sort on    var sortResource = node.getAttribute("resource");    var sortDirection = node.getAttribute("sortDirection");        if (sortDirection == "ascending")        sortDirection = "descending";    else if (sortDirection == "descending")        sortDirection = "natural";    else        sortDirection = "ascending";        var xulSortService =        Components.classes[isupports_uri].getService(nsIXULSortService);    if (!xulSortService)        return false;    try    {        if ("sort" in xulSortService)            xulSortService.sort(node, sortResource, sortDirection);        else            xulSortService.Sort(node, sortResource, sortDirection);        document.persist("user-list", "sortResource");        document.persist("user-list", "sortDirection");    }    catch(ex)    {            //dd("Exception calling xulSortService.sort()");    }        return false;}
meta: 1622	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1622/ae3e9c530285bc8229345d073a6ffe21da75636f/handlers.js/clean/xul/content/handlers.js