add: var ArrayOfTreeCols = document.getElementById( UnifinderTreeName ).getElementsByTagName( "treecol" );  for( var i = 0; i < ArrayOfTreeCols.length; i++ ) { if( ArrayOfTreeCols[i].getAttribute( "sortActive" ) == "true" ) { treeView.selectedColumn = ArrayOfTreeCols[i].getAttribute( "id" ); treeView.sortDirection = ArrayOfTreeCols[i].getAttribute("sortDirection"); gTaskArray.sort(sortTasks); break; } }  
context: function refreshToDoTree( taskArray ){   if( taskArray === false )      taskArray = getTaskTable();   gTaskArray = taskArray;   toDoTreeView.rowCount = gTaskArray.length;      document.getElementById( ToDoUnifinderTreeName ).view = toDoTreeView;   document.getElementById( ToDoUnifinderTreeName ).taskView = new calendarTaskView( gTaskArray );}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/9ee2b36afbf8cc9976c93cf614ddf4a18eb6a4f4/unifinderToDo.js/clean/calendar/resources/content/unifinderToDo.js