Hi Hamza,
You can try the following if your intention is to sort via query:
- Add a dynamic sort in your aggregates:

- In RichWidgets\List_SortColumn specify the {EntityName}.[AttributeName] as @Khuong Truong mentioned

- In your page action you need to refresh the query and the table or its container

But if you really want to use ListSort, you need to reset the source of your TableRecords1 like below :

Hope this helps.