Thanks for your quick response, Olivier. I thought it might be good for me to clarify my use case, I think I may have not explained it clearly. Here are some screenshots, and I'll walk through the use case for clarity...
On the map, we need to select a group of polygons (representing real estate parcels). Each one of the parcels has a unique identifier, a Parcel ID. As we go through the one-at-a-time selection process, I want to build a list of the Parcel ID's in the order that they were selected. Conceptually similar to loading a LIFO queue.
So...here's the first step. The user marks the first parcel (R000069319), and that row shows up in the child table below. I'll mark each row with a red number to denote which click it was:
Next, the user clicks parcel R000069142, and the second row appears in the child table as we had hoped:
So far, so good. Now, the user clicks the third parcel (R000101858), and the issue appears:
Instead of the rows in the table being in the click order of 3, 2, 1...we've now got 2,1,3. If we carry this one more step, the 4th click also gets farther from what we want:
Now the rows are in click order 2,4,1,3...when we need is 4,3,2,1 (the order they were selected in).
So...that's more detail about what I'm trying to achieve...hopefully this will make more sense than my first try.
Thanks again for any ideas you can throw out, I appreciate your time.
Kerry