How to add sort functionality to all columns in an Advanced Grid
I am using thingworx 8.5.3-b123
I fill an advanced datagrid with a service Search that is inside a Thing called :

I dont understand how to add sort functionality to all the columns, I mean, if I click on a column it sorts by that column, and I would like to sort data ny the column I click on.
Is this possible?
Could you please tell me how to do it?
I have enabled the EnableSorting property but I dont really know how to sort data by all columns using a query filter?
I found an article to implement sorting but I dont understand it:
Implement Sorting
1. Set the EnableSorting property to true, either by clicking it in the properties panel of the
Mashup Builder or defining it in the JSON script of a dynamic configuration service. The
QueryFilter property and Filter event will become available in the properties panel. 2. Bind the QueryFilter property to the output query parameter where the data to be sorted is
located:
• If your data is in a table, bind the QueryFilter to the query parameter of the
QueryDataTableEntries service.
• If you are generating data via a data service, bind the QueryFilter to the queryFilter
parameter of the data service.
3. Bind the Filter event to the service that will be triggered when sorting begins:
• If you are using a data table, bind the Filter event to QueryDataTableEntries service.
• If you are generating data via a data service, bind the Filter event to the data service. The example below shows a query parameter with two sort columns applied (name and title):
{"maxItems":100000,"query":{"sorts":[{"fieldName":"name","isAscending":true},{"fieldName":
"title","isAscending":true}]}}
As I am filling the grid with a service, The article says I need to bind the queryfilter to the queryfilter parameter of the data service.
where is the query filter and where is the query filter parameter? I dont find them neither how to bind them and where to write the query
Do I have to create a service inside or do I Have to include the query filter inside the service Search ?

