    sort: function(table, colIndex, numerical)    {        var tbody = table.lastChild;                            var values = [];        for (var row = tbody.childNodes[1]; row; row = row.nextSibling)        {            var cell = row.childNodes[colIndex];            var value = numerical ? parseFloat(cell.textContent) : cell.textContent;            values.push({row: row, value: value});        }                values.sort(function(a, b) { return a.value < b.value ? -1 : 1; });        var headerRow = tbody.firstChild;        var headerSorted = getChildByClass(headerRow, "headerSorted");        removeClass(headerSorted, "headerSorted");        var header = headerRow.childNodes[colIndex];        setClass(header, "headerSorted");        if (!header.sorted || header.sorted == 1)        {            removeClass(header, "sortedDescending");            setClass(header, "sortedAscending");            header.sorted = -1;                        for (var i = 0; i < values.length; ++i)                tbody.appendChild(values[i].row);        }        else        {            removeClass(header, "sortedAscending");            setClass(header, "sortedDescending");            header.sorted = 1;                        for (var i = values.length-1; i >= 0; --i)                tbody.appendChild(values[i].row);        }    }
2454	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/2454/e1d42ad3fad63b72826a4e2ed0726866484c9ac3/profiler.js/buggy/extension/content/firebug/profiler.js