Whether this T is numerically smaller than other.
T
other
bool operator <(T other) => compareTo(other) < 0;