Private methods to sort points in a polygon, untested