Compares this to other.
this
other
If other is also an Target, consistent with sorting on toString.
@override int compareTo(Target other) => toString().compareTo(other.toString());