def __lt__(self, other):
origin = MapPoint(<NUM_LIT:0>,<NUM_LIT:0>)<EOL>return self.direct2dDistance(origin) < other.direct2dDistance(origin)<EOL>
allow basic sorting based on which point is closer to the origin