rem: var tree = column.parentNode.parentNode; var col = tree.columns.getColumnFor(column); tree.view.cycleHeader(col); 
add: var column = document.getElementById(columnId); SortColumnElement(column); 
context: function SortColumn(column){  var tree = column.parentNode.parentNode;  var col = tree.columns.getColumnFor(column);  tree.view.cycleHeader(col);}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/e8df25447a30e6ed51b475067e3c369eebe32d6a/nsTreeSorting.js/clean/toolkit/obsolete/content/nsTreeSorting.js