Provide compareTasks in TaskUtil