i know this thread is pretty old but can someone tell me if it is possible and how to rearrange the entities in a selection set. what i am currently doing is that my program will preselect items on a drawing and later ask the user to select unselected but needed items to add onto the selection set for processing. i tried by reading the coordinates of the items into a list and perform sorting using vl-sort but was not able to obtain the order i needed.
a little background info, the "to-be-selected" items are lwpolylines placed in a "square-like" fashion. in the diagram, the purple areas are preselected and the user must self-select the others(the 3-line-made-polyline).
the current ordering seems random, it can start in the middle item and run one round on each of the 4 sides before proceeding to the next side, i want the order to run through all the items in a counter-clockwise manner.
thanks in advance for any to-come-help.