O meu aparece a seguinte mensagem
No suitable method found for sort(List,TarefaComparator)
method Collections.sort(List,Comparator) is not applicable
(no instance(s) of type variable(s) T#1 exist so that argument type TarefaComparator conforms to formal parameter type Comparator)
method Collections.sort(List) is not applicable
(cannot instantiate from arguments because actual and formal argument lists differ in length)
where T#1,T#2 are type-variables:
T#1 extends Object declared in method sort(List,Comparator)
T#2 extends Comparable declared in method sort(List)
eu estou comparando pela data, alguem pode me ajudar por favor?