rem: var columns = document.getElementsByTagName('outlinercol'); 
add: var columns = document.getElementsByTagName('treecol'); 
context: function find_sort_column(){  var columns = document.getElementsByTagName('outlinercol');  for (var i = 0; i < columns.length; ++i) {    if (columns[i].getAttribute('sortDirection'))      return columns[i];  }  return columns[0];}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/d38a0937d9c93a0a9d913e2ac781e4328bb8cc73/nsTreeSorting.js/buggy/xpfe/global/resources/content/nsTreeSorting.js