{"meta":{"title":"Sorting search results","intro":"You can sort GitHub search results using the Sort menu, or by adding a sort qualifier to your query.","product":"Search on GitHub","breadcrumbs":[{"href":"/en/search-github","title":"Search on GitHub"},{"href":"/en/search-github/getting-started-with-searching-on-github","title":"Start with search on GitHub"},{"href":"/en/search-github/getting-started-with-searching-on-github/sorting-search-results","title":"Sorting search results"}],"documentType":"article"},"body":"# Sorting search results\n\nYou can sort GitHub search results using the Sort menu, or by adding a sort qualifier to your query.\n\n> \\[!NOTE]\n> Sorting search results is not supported for GitHub code search. For more information on code search, see [About GitHub Code Search](/en/search-github/github-code-search/about-github-code-search).\n\nUse the **Sort** dropdown menu to sort results by relevance, number of stars, number of forks, and how recently the items were updated.\n\nTo sort by interactions, reactions, comments, created date, relevance, author date, committer date, or how recently the items were updated, you can add a `sort` qualifier to your search query.\n\n## Sort by comments\n\nThe `sort:comments` qualifier sorts by the number of comments.\n\n| Qualifier                               | Example                                                                                                                                                                                                                        |\n| --------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |\n| `sort:comments` or `sort:comments-desc` | [**org:github sort:comments**](https://github.com/search?q=org%3Agithub+sort%3Acomments\\&type=Issues) matches issues in repositories owned by GitHub, sorted by the highest number of comments.                                |\n| `sort:comments-asc`                     | [**org:github sort:comments-asc**](https://github.com/search?q=org%3Agithub+sort%3Acomments-asc\\&type=Issues) matches issues in repositories owned by GitHub, sorted by ascending number of comments (the fewest to the most). |\n\n## Sort by created date\n\nThe `sort:created` qualifier sorts by the date when the items were created.\n\n| Qualifier                             | Example                                                                                                                                                                                                          |\n| ------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `sort:created` or `sort:created-desc` | [**org:github sort:created**](https://github.com/search?q=org%3Agithub+sort%3Acreated\\&type=Issues) matches issues in repositories owned by GitHub, sorted by the most recently created date.                    |\n| `sort:created-asc`                    | [**org:github sort:created-asc**](https://github.com/search?q=org%3Agithub+sort%3Acreated-asc\\&type=Issues) matches issues in repositories owned by GitHub, sorted by ascending created date (oldest to newest). |\n\n## Sort by relevance\n\nThe `sort:relevance` qualifier sorts by search relevance.\n\n| Qualifier                                 | Example                                                                                                                                                                                     |\n| ----------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `sort:relevance` or `sort:relevance-desc` | [**org:github sort:relevance**](https://github.com/search?q=org%3Agithub+sort%3Arelevance\\&type=Issues) matches issues in repositories owned by GitHub, sorted by highest search relevance. |\n\n## Sort by interactions\n\nThe `sort:interactions` qualifier sorts by the highest combined number of reactions and comments.\n\n| Qualifier                                       | Example                                                                                                                                                                                                                                               |\n| ----------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `sort:interactions` or `sort:interactions-desc` | [**org:github sort:interactions**](https://github.com/search?q=org%3Agithub+sort%3Ainteractions\\&type=Issues) matches issues in repositories owned by GitHub, sorted by the highest combined number of reactions and comments.                        |\n| `sort:interactions-asc`                         | [**org:github sort:interactions-asc**](https://github.com/search?utf8=%E2%9C%93\\&q=org%3Agithub+sort%3Ainteractions-asc\\&type=Issues) matches issues in repositories owned by GitHub, sorted by the lowest combined number of reactions and comments. |\n\n## Sort by reactions\n\nThe `sort:reactions` qualifier sorts by the number or type of reactions.\n\n| Qualifier                                                            | Example                                                                                                                                                                                                                                                                                                  |\n| -------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `sort:reactions` or `sort:reactions-desc`                            | [**org:github sort:reactions**](https://github.com/search?q=org%3Agithub+sort%3Areactions\\&type=Issues) matches issues in repositories owned by GitHub, sorted by the highest number of reactions.                                                                                                       |\n| `sort:reactions-asc`                                                 | [**org:github sort:reactions-asc**](https://github.com/search?q=org%3Agithub+sort%3Areactions-asc\\&type=Issues) matches issues in repositories owned by GitHub, sorted by ascending number of reactions (the fewest to the most).                                                                        |\n| `sort:reactions-+1` or `sort:reactions-+1-asc`                       | [**org:github sort:reactions-+1-asc**](https://github.com/search?q=org%3Agithub+sort%3Areactions-%2B1-asc\\&type=Issues) matches issues in repositories owned by GitHub, sorted by ascending thumbs up (:+1:) reactions (the fewest to the most).                                                         |\n| `sort:reactions-+1-desc`                                             | [**org:github sort:reactions-+1-desc**](https://github.com/search?q=org%3Agithub+sort%3Areactions-%2B1-desc\\&type=Issues) matches issues in repositories owned by GitHub, sorted by descending thumbs up (:+1:) reactions (the most to the fewest).                                                      |\n| `sort:reactions--1` or `sort:reactions--1-asc`                       | [**org:github sort:reactions--1-asc**](https://github.com/search?utf8=%E2%9C%93\\&q=org%3Agithub+sort%3Areactions--1-asc\\&type=Issues) matches issues in repositories owned by GitHub, sorted by ascending thumbs down (:-1:) reactions (the fewest to the most).                                         |\n| `sort:reactions--1-desc`                                             | [**org:github sort:reactions--1-desc**](https://github.com/search?utf8=%E2%9C%93\\&q=org%3Agithub+sort%3Areactions--1-desc\\&type=Issues) matches issues in repositories owned by GitHub, sorted by descending thumbs down (:-1:) reactions (the most to the fewest).                                      |\n| `sort:reactions-smile` or `sort:reactions-smile-asc`                 | [**org:github sort:reactions-smile-asc**](https://github.com/search?utf8=%E2%9C%93\\&q=org%3Agithub+sort%3Areactions-smile-asc\\&type=Issues) matches issues in repositories owned by GitHub, sorted by ascending laugh (:smile:) reactions (the fewest to the most).                                      |\n| `sort:reactions-smile-desc`                                          | [**org:github sort:reactions-smile-desc**](https://github.com/search?utf8=%E2%9C%93\\&q=org%3Agithub+sort%3Areactions-smile-desc\\&type=Issues) matches issues in repositories owned by GitHub, sorted by descending laugh (:smile:) reactions (the most to the fewest).                                   |\n| `sort:reactions-tada` or `sort:reactions-tada-asc`                   | [**org:github sort:reactions-tada-asc**](https://github.com/search?utf8=%E2%9C%93\\&q=org%3Agithub+sort%3Areactions-tada-asc\\&type=Issues) matches issues in repositories owned by GitHub, sorted by ascending hurray (:tada:) reactions (the fewest to the most).                                        |\n| `sort:reactions-tada-desc`                                           | [**org:github sort:reactions-tada-desc**](https://github.com/search?utf8=%E2%9C%93\\&q=org%3Agithub+sort%3Areactions-tada-desc\\&type=Issues) matches issues in repositories owned by GitHub, sorted by descending hurray (:tada:) reactions (the most to the fewest).                                     |\n| `sort:reactions-heart` or `sort:reactions-heart-asc`                 | [**org:github sort:reactions-heart-asc**](https://github.com/search?utf8=%E2%9C%93\\&q=org%3Agithub+sort%3Areactions-heart-asc\\&type=Issues) matches issues in repositories owned by GitHub, sorted by ascending heart (:heart:) reactions (the fewest to the most).                                      |\n| `sort:reactions-heart-desc`                                          | [**org:github sort:reactions-heart-desc**](https://github.com/search?utf8=%E2%9C%93\\&q=org%3Agithub+sort%3Areactions-heart-desc\\&type=Issues) matches issues in repositories owned by GitHub, sorted by descending heart (:heart:) reactions (the most to the fewest).                                   |\n| `sort:reactions-thinking_face` or `sort:reactions-thinking_face-asc` | [**org:github sort:reactions-thinking\\_face-asc**](https://github.com/search?utf8=%E2%9C%93\\&q=org%3Agithub+sort%3Areactions-thinking_face-asc\\&type=Issues) matches issues in repositories owned by GitHub, sorted by ascending thinking face (:thinking\\_face:) reactions (the fewest to the most).    |\n| `sort:reactions-thinking_face-desc`                                  | [**org:github sort:reactions-thinking\\_face-desc**](https://github.com/search?utf8=%E2%9C%93\\&q=org%3Agithub+sort%3Areactions-thinking_face-desc\\&type=Issues) matches issues in repositories owned by GitHub, sorted by descending thinking face (:thinking\\_face:) reactions (the most to the fewest). |\n| `sort:reactions-rocket` or `sort:reactions-rocket-asc`               | [**org:github sort:reactions-rocket-asc**](https://github.com/search?utf8=%E2%9C%93\\&q=org%3Agithub+sort%3Areactions-rocket-asc\\&type=Issues) matches issues in repositories owned by GitHub, sorted by ascending rocket (:rocket:) reactions (the fewest to the most).                                  |\n| `sort:reactions-rocket-desc`                                         | [**org:github sort:reactions-rocket-desc**](https://github.com/search?utf8=%E2%9C%93\\&q=org%3Agithub+sort%3Areactions-rocket-desc\\&type=Issues) matches issues in repositories owned by GitHub, sorted by descending rocket (:rocket:) reactions (the most to the fewest).                               |\n| `sort:reactions-eyes` or `sort:reactions-eyes-asc`                   | [**org:github sort:reactions-eyes-asc**](https://github.com/search?utf8=%E2%9C%93\\&q=org%3Agithub+sort%3Areactions-eyes-asc\\&type=Issues) matches issues in repositories owned by GitHub, sorted by ascending eyes (:eyes:) reactions (the fewest to the most).                                          |\n| `sort:reactions-eyes-desc`                                           | [**org:github sort:reactions-eyes-desc**](https://github.com/search?utf8=%E2%9C%93\\&q=org%3Agithub+sort%3Areactions-eyes-desc\\&type=Issues) matches issues in repositories owned by GitHub, sorted by descending eyes (:eyes:) reactions (the most to the fewest).                                       |\n\n## Sort by author date\n\nThe `sort:author-date` qualifier sorts by descending or ascending author date.\n\n| Qualifier                                     | Example                                                                                                                                                                                                                                                                |\n| --------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `sort:author-date` or `sort:author-date-desc` | [**feature org:github sort:author-date**](https://github.com/search?utf8=%E2%9C%93\\&q=feature+org%3Agithub+sort%3Aauthor-date\\&type=Commits) matches commits containing the word \"feature\" in repositories owned by GitHub, sorted by descending author date.          |\n| `sort:author-date-asc`                        | [**`feature org:github sort:author-date-asc`**](https://github.com/search?utf8=%E2%9C%93\\&q=feature+org%3Agithub+sort%3Aauthor-date-asc\\&type=Commits) matches commits containing the word \"feature\" in repositories owned by GitHub, sorted by ascending author date. |\n\n## Sort by committer date\n\nThe `sort:committer-date` qualifier sorts by descending or ascending committer date.\n\n| Qualifier                                           | Example                                                                                                                                                                                                                                                                         |\n| --------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `sort:committer-date` or `sort:committer-date-desc` | [**feature org:github sort:committer-date**](https://github.com/search?utf8=%E2%9C%93\\&q=feature+org%3Agithub+sort%3Acommitter-date\\&type=Commits) matches commits containing the word \"feature\" in repositories owned by GitHub, sorted by descending committer date.          |\n| `sort:committer-date-asc`                           | [**`feature org:github sort:committer-date-asc`**](https://github.com/search?utf8=%E2%9C%93\\&q=feature+org%3Agithub+sort%3Acommitter-date-asc\\&type=Commits) matches commits containing the word \"feature\" in repositories owned by GitHub, sorted by ascending committer date. |\n\n## Sort by updated date\n\nThe `sort:updated` qualifier sorts by how recently the items were updated.\n\n| Qualifier                             | Example                                                                                                                                                                                                              |\n| ------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `sort:updated` or `sort:updated-desc` | [**feature sort:updated**](https://github.com/search?utf8=%E2%9C%93\\&q=feature+sort%3Aupdated\\&type=Repositories) matches repositories containing the word \"feature,\" sorted by most recently updated date.          |\n| `sort:updated-asc`                    | [**feature sort:updated-asc**](https://github.com/search?utf8=%E2%9C%93\\&q=feature+sort%3Aupdated-asc\\&type=Repositories) matches repositories containing the word \"feature,\" sorted by least recently updated date. |\n\n## Further reading\n\n* [About searching on GitHub](/en/search-github/getting-started-with-searching-on-github/about-searching-on-github)\n* [Filtering and searching issues and pull requests](/en/issues/tracking-your-work-with-issues/using-issues/filtering-and-searching-issues-and-pull-requests)"}