rem: return( ((TaskA.percentcomplete > TaskB.percentcomplete) ? 1 : -1) * modifier ); 
add: return( ((TaskA.percent > TaskB.percent) ? 1 : -1) * modifier ); 
context: function sortTasks( TaskA, TaskB ){   var modifier = 1;   if (toDoTreeView.sortDirection == "descending")	{		modifier = -1;	}   switch(toDoTreeView.selectedColumn)   {      case "unifinder-todo-tree-col-completed":         return( ((TaskA.completed.getTime() > TaskB.completed.getTime()) ? 1 : -1) * modifier );            case "unifinder-todo-tree-col-priority":         return( ((TaskA.priority > TaskB.priority) ? 1 : -1) * modifier );         case "unifinder-todo-tree-col-title":         return( ((TaskA.title > TaskB.title) ? 1 : -1) * modifier );         case "unifinder-todo-tree-col-startdate":         return( ((TaskA.start.getTime() > TaskB.start.getTime()) ? 1 : -1) * modifier );         case "unifinder-todo-tree-col-duedate":         return( ((TaskA.due.getTime() > TaskB.due.getTime()) ? 1 : -1) * modifier );         case "unifinder-todo-tree-col-completeddate":         return( ((TaskA.completed.getTime() > TaskB.completed.getTime()) ? 1 : -1) * modifier );            case "unifinder-todo-tree-col-percentcomplete":         return( ((TaskA.percentcomplete > TaskB.percentcomplete) ? 1 : -1) * modifier );         case "unifinder-todo-tree-col-categories":         return( ((TaskA.categories > TaskB.categories) ? 1 : -1) * modifier );      default:         return true;   }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/b3909e39d6c8fb164ba8042b0c65f1a121a9502e/unifinderToDo.js/buggy/calendar/resources/content/unifinderToDo.js