How to get github search results sorted by the number of forks or stars?
I need this feature to demonstrate which project is the hottest among those that target the
GitHub supports the "Lucene query syntax".
See @VonC's answer here:
GitHub advanced search default behaviour
and
http://www.lucenetutorial.com/lucene-query-syntax.html
But Lucene doesn't support ordering.
Update of the Update (February 2013, source "Sortable Stars"):
Starting today you can sort your starred repositories by when you starred them or when the repositories were last updated.
So the sort criteria is now visible.
Update January 2013 (source: "A whole new code search")
Searching by number of forks seems now to return a result ordered by number of forks
django- forks:>500
This is confirmed by the blog post "Sorting through Search Results" (January 31, 2013):
If you're searching through repositories, you can sort by stars, forks, or recently-updated
(Original answer: Sept. 2012)
I don't see any sort option in GitHub advanced search.
The forks: filter is to indicate a precise number of fork, like this query would display the 4 repos with 100 forks for "django-
". But that doesn't display all repo above 100 forks, and that doesn't sort them.