Bug was found when transformation is applied + CircularSort() which results in across-border longitude, is used. After transformation is applied (in Start()) and then the index is sorted again, the new order was incorrect. The bug can be found by comparing CircularSort(0, 360) and CircularSort(-180, 180) when one of them crosses the border.