When defining a search query, I would also like to define the sort order. I am, however, not yet sure what sort order would be most helpful for me, and thus I would like to know what options exist.
It seems that the query syntax does not provide such a possibility - at least there is nothing mentioned on the page on advanced searching. I did search through Stack Overflow META, but did not find any overview.
There is a possibility to add a sort option to the URL, as demonstrated in this question: How can I browse answers sorted by votes?. Another option that can be used appears to be tab=
, as is discussed here. However, I did not find any documentation about what options could possibly be given to sort=
or tab=
. Thus the question:
What are the possibilities for sorting the results of queries?
I would be happy if the answer was only a link to a documentation page I have missed - in that case, however, it would be an improvement if this page was easier to find. If there is not a documentation page yet, it would be an improvement for the site if one was created.