Order in selected point in Graph's selectData property

Hi,

I am using the first example (posted in this Part 4. Interactive Graphing and Crossfiltering | Dash for Python Documentation | Plotly) in my app. For the selectData, the data points returned back in order customData’s indices (more correctly, order of data points). I wonder if there is any workaround solution to know which scatter is selected in order.

Bests,
Thanh