I am doing a repository search and emailing the search results to the users in the Table format.
In the email, I want the sort the results based on the date.
How can I sort the search results in the email? Do I need to sort in the search query in the repository? I don't see an options to sort the search results in the repository.