Sort data Export DSE to Excel smartservice

Certified Associate Developer

I am generating an excel with Export DSE to EXCEL.
The smartservice consults a view with the data ordered by a date field.
The result obtained in the smartservice is ordered by id (PK), not by date.
How can we order by the date field in this smartservice or collect the records as they are in the view without ordering them by pk?

  Discussion posts and replies are publicly visible