Faster polygon sorting.