rem: gTaskArray.sort( sortEvents ); 
add: gTaskArray.sort( sortTasks ); 
context:    cycleHeader : function( ColId, element )   {      var sortActive;      var treeCols;         this.selectedColumn = ColId;      sortActive = element.getAttribute("sortActive");      this.sortDirection = element.getAttribute("sortDirection");         if (sortActive != "true")      {         treeCols = document.getElementsByTagName("treecol");         for (var i = 0; i < treeCols.length; i++)         {            treeCols[i].removeAttribute("sortActive");            treeCols[i].removeAttribute("sortDirection");         }         sortActive = true;         this.sortDirection = "ascending";      }      else      {         sortActive = true;         if (this.sortDirection == "" || this.sortDirection == "descending")         {            this.sortDirection = "ascending";         }         else         {            this.sortDirection = "descending";         }      }      element.setAttribute("sortActive", sortActive);      element.setAttribute("sortDirection", this.sortDirection);      gTaskArray.sort( sortEvents );      document.getElementById( ToDoUnifinderTreeName ).view = this;   },
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/fd469b21f0d5a7370c6f42433289f6d7696799ab/unifinderToDo.js/buggy/calendar/resources/content/unifinderToDo.js