Issue on AdvStringGrid with MoveRowOnSort and UndoSort

Hello Support,

I try to have my AdvStringGrid keep the selected row on sorting.
MoveRowOnSort=true keeps the selection while switching sorting.

But when UndoSort is enabled and the Sorting is set to no sort (clicking on the column header until sort arrows disappear), the selection is lost and some other row gets selected.

Is there something I miss or is this a bug?

Thanks in advance.
Regards
Björn

C++Builder Tokyo
TMS 13.1.0.1

Thanks for reporting. We have seen this issue and we have applied a fix.
Next update will address this.