You could try to change the data source of the listview and see if that works.
Additionally, please check if the audit entity is persistable.
Here’s another resource I found, maybe use this workaround?
You should choose the same entity which is used in list view, in this case 'Audit’ entity.
Important note: 'Header Sort’ comes with 'Listview controls' widget and this widget is deprecated.
Check it for more detailed info:
Mendix Marketplace - List view controls