Hello,
I noticed something interesting when creating a new shapefile of SHP_POLYGON type:
I create three closed polygons shapes, and insert them: Shapefile.EditInsertShape. Save the shapefile.
When opening the shapefile, and reading the shapes, their order is actually reversed to that in which they were created.
What is the reason for this?
EditAddShape will always append to the end, whereas EditInsertShape attempts to insert at the ShapeIndex you provide as a reference parameter. If you specified 0 (zero) for each, then each would be inserted at the beginning, effectively reversing the order.