compareTo method
Compares two pairs based on their minimum distances
Implementation
int compareTo(dynamic o) {
BoundablePair nd = o as BoundablePair;
if (_distance < nd._distance) return -1;
if (_distance > nd._distance) return 1;
return 0;
}