Sort data grid column coming from association

I have a data grid with data source as association. I need to sort it on basis on descending order of date column. Its a simple datagrid and not the extension. Is there any possible way to modify it via maybe classes,styles etc to get column sorted?
1 answers


If you want sorting to be fixed, you can change the source to ‘Microflow’. 

In the microflow, retrieve data you want to show via association. Next add a ‘List operation’ and do a ‘Sort’ by the attribute want. Make sure the microflow returns the sorted list.