How can I know the order of the selected elements.
If i use selection api to find order,i find it wrong order.
thanks very much.
context.selection is array.but it's order( like selection selection ) by location. it's not user keypress shift choice order.
We don't store that information at the moment. You can maybe use the Action API and the SelectionChanged event to build a custom selection array, but it's not something we do natively…
ale thank you very much.