fixed ordering of points