Forum Discussion
nksse
Feb 24, 2023Copper Contributor
SharePoint search query sort order
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-sharepoint#how-to-specify-sorting-in-a-query-request
Thanks in advance.
Hello nksse
do you use this search site in the meantime? https://www.microsoft365.com/search/sites
Best, Dave