@@ -0,0 +1,340 @@
+package udo.storage;%0Aimport java.util.Comparator;%0Aimport java.util.GregorianCalendar;%0Apublic class StartTimeComparator implements Comparator%3CTask%3E %7B%0A%09@Override%0A%09public int compare(Task task1, Task task2) %7B%0A%09%09GregorianCalendar start1 = task1.getStart();%0A%09%09GregorianCalendar start2 = task2.getStart();%0A%09%09return start1.compareTo(start2);%0A%09%7D%0A%7D%0A

add start time comparator