SharePoint search query sort order

Copper Contributor

Hi

 

I'm trying to create a simple link for users to click that will show them all the SharePoint sites they have access to. So far I have this:

https://<TENANT>.sharepoint.com/_layouts/15/sharepoint.aspx?q=v=search&contentclass%3ASTS_Site

 

And I was wondering if there was any way to sort the results alphabetically?

 

From the documentation it seems there is a possibility to sort in the query request but I can't find/figure out how that syntax would look
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/sorting-search-results-in-share...

 

Thanks in advance.

0 Replies