Task now implements Comparator<Task>