Comparator function used for sorting purpose
int compareTo(Time other) => asDateTime.compareTo(other.asDateTime);