sortable() resets the sorting on 3rd click

Hello,
I am facing this issue with sortable() columns on my tables.
It sorts perfectly when I click on it once, then it toggles the direction on another click and then on 3rd click it just resets the sorting and then I have to click on it again to sort.
Please watch the attached video for reference.

Please let me know how do I fix this?

Thank you so much.
Solution
Then on 3rd click it just resets the sorting
It's the expected behaviour. If you want to change it, I think you can overwrite the sortTable() method on the ListPage
Was this page helpful?