Export sorted data into excel

Hi All,

I am exporting data to excel using "exportDataStoreEntityToExcel" Smart service.

I have to sort the data using one of the column in Database,

Please can you suggest is there a way to sort the data using any column other than Primary Key?

 Discussion posts and replies are publicly visible