removed polygon sorting