n00m wrote: > Any comment: > > <snip> > def v_cmp(v1, v2): > if v1.x < v2.x and v1.y > v2.y: > return -1 > return 0 > > > The second part of the compound if is backwards. So if this is headed for production code, it better get fixed. DaveA