Describe the bug
When the sort is reset, the onValueChange retrieves a wrong value.
Reproducer
https://stackblitz.com/edit/i3yupjwe-5ivzjcju?file=src%2FApp.jsx
System Information
Steps to reproduce the behavior
- Sort the name column
The retrieved value is good ✅
- Re-sort the name column
The retrieved value is good ✅
- Re-sort the name column
The retrieved rows are not in the same order as the displayed rows.
Expected behavior
The retrieved rows should always have the same order as the displayed rows.