This looks like a bug to me! To be sure: in the animated screenshot, you only navigate around and are not sorting, right? And by “navigating back” you are using the browser’s back button, and then the default sorting is “forgotten”?
If this is the case, you could create a small app to reproduce this bug and submit this to the Mendix support via https://support.mendix.com
For now, to patch it, you could try different datasources, as the bug could be because of the database source, try:
Hi all, I seem to have stumbled upon a similar issue. I tried Johan's patches, but using a micro/nanoflow to create the sorted list means that the pagination widget cannot function. Tweeking a little more from here I soon discovered that when I deleted the pagination widget, and using the data list view with an XPath source (as per the orignal design) the issue dissapeared: When going from and back to the page using the browser back button the listview does not "forget" the sorting, or at least has the sorting in order. Thus I conclude that the pagination widget is somehow interfering with the sort order functionallity. I wonder if anyone has found a solution that enables pagination.