PolygonSorter tests