Small change to point sort routine. atan2 quadrant check is less general than a simple check of the direction of OAB normals!