rem: return compareNumber(taskA.percent, taskB.percent) * modifier; 
add: return compareNumber(taskA.percentComplete, taskB.percentComplete) * modifier; 
context: function compareTasks( taskA, taskB ){   var modifier = 1;   if (toDoTreeView.sortDirection == "descending")	{		modifier = -1;	}   switch(toDoTreeView.selectedColumn)   {      case "unifinder-todo-tree-col-priority":  // 0-9         return compareNumber(taskA.priority, taskB.priority) * modifier;         case "unifinder-todo-tree-col-title":         return compareString(taskA.title, taskB.title) * modifier;         case "unifinder-todo-tree-col-startdate":         return compareDate(taskA.start, taskB.start) * modifier;         case "unifinder-todo-tree-col-duedate":         return compareDate(taskA.due, taskB.due) * modifier;         case "unifinder-todo-tree-col-completed": // checkbox if date exists      case "unifinder-todo-tree-col-completeddate":         return compareDate(taskA.completedDate, taskB.completedDate) * modifier;            case "unifinder-todo-tree-col-percentcomplete":         return compareNumber(taskA.percent, taskB.percent) * modifier;         case "unifinder-todo-tree-col-categories":         return compareString(taskA.categories, taskB.categories) * modifier;      case "unifinder-todo-tree-col-location":         return compareString(taskA.getProperty("LOCATION"), taskB.getProperty("LOCATION")) * modifier;      case "unifinder-todo-tree-col-status":        return compareNumber(kStatusOrder.indexOf(taskA.status), kStatusOrder.indexOf(taskB.status)) * modifier;      case "unifinder-todo-tree-col-calendarname":        return compareString(taskA.calendar.name, taskB.calendar.name) * modifier;      default:         return 0;   }}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/83cdd8317c3940557b05215b13579c6588918743/unifinderToDo.js/buggy/calendar/resources/content/unifinderToDo.js