1
0
mirror of synced 2025-12-22 03:16:52 -05:00
Files
docs/content/search-github/getting-started-with-searching-on-github/sorting-search-results.md
Ramya Parimi d27e09cc5b Fix vale errors in source (#24086)
* backticks for javascript

* Update sorting-search-results.md

backticks asc

* Update installing-github-enterprise-server-on-azure.md

fixed vm az

* Update searching-for-repositories.md

backticks

* Update searching-code.md

backticks

* Update searching-issues-and-pull-requests.md

backticks

* Update searching-issues-and-pull-requests.md

* Update understanding-the-search-syntax.md

* Update searching-for-packages.md

* Update upgrading-from-dependabotcom-to-github-native-dependabot.md

* fix errors in source

* removed spaces

* vale docs

* link to md link

* spacing for backticks

* docs draft

* remove space

* removed spacing

* drafting

* drafting

* draft

* escape single quote

* escape another single quote

* fix broken link

* vale guide

* edge case

* edge case ex

* edge case ex link

* grammer

* grammer

* Update vale-guide.md

clarity

* Update vale-guide.md

small edit

* clarity

* sentence fix

* Rubocop to RuboCop

* Rubocop -> RuboCop

* terms in backticks

* pem in backtick

* idp -> IdP

* file names in backticks

* public/private rsa in backticks

* fix vale errors

* fix vale errors

* Update sending-enterprise-contributions-to-your-githubcom-profile.md

fix dot-com links

* Update metadata-syntax-for-github-actions.md

* Update configuring-codeql-cli-in-your-ci-system.md

* Update content/get-started/getting-started-with-git/associating-text-editors-with-git.md

Co-authored-by: Vanessa <vgrl@github.com>

* Update managing-deploy-keys.md

public and private rsa key pair

* Update libraries.md

removed backticks for consistency

* Update sorting-search-results.md

removed backticks for consistency

* Update metadata-syntax-for-github-actions.md

removed backticks for consistency

* Update metadata-syntax-for-github-actions.md

removed backticks

* delete vale config files

Co-authored-by: Vanessa <vgrl@github.com>
Co-authored-by: Amy Burns <timeyoutakeit@github.com>
2022-01-25 11:18:19 -06:00

6.2 KiB

title, intro, redirect_from, versions, topics
title intro redirect_from versions topics
Sorting search results You can sort [{% data variables.product.product_name %} search](/articles/searching-on-github) results using the Sort menu, or by adding a `sort` qualifier to your query.
/articles/sorting-search-results
/github/searching-for-information-on-github/sorting-search-results
/github/searching-for-information-on-github/getting-started-with-searching-on-github/sorting-search-results
fpt ghes ghae ghec
* * * *
GitHub search

Use the Sort menu to sort results by relevance, number of stars, number of forks, and how recently the items were updated.

Menu with options for sorting search results

To sort by interactions, reactions, author date, committer date, or how recently the items were updated, you can add a sort qualifier to your search query.

Sort by interactions

The sort:interactions qualifier sorts by the highest combined number of reactions and comments.

Qualifier Example
sort:interactions or sort:interactions-desc org:github sort:interactions matches issues in repositories owned by {% data variables.product.product_name %}, sorted by the highest combined number of reactions and comments.
sort:interactions-asc org:github sort:interactions-asc matches issues in repositories owned by {% data variables.product.product_name %}, sorted by the lowest combined number of reactions and comments.

Sort by reactions

The sort:reactions qualifier sorts by the number or type of reactions.

Qualifier Example
sort:reactions or sort:reactions-desc org:github sort:reactions matches issues in repositories owned by {% data variables.product.product_name %}, sorted by the highest number of reactions.
sort:reactions-asc org:github sort:reactions-asc matches issues in repositories owned by {% data variables.product.product_name %}, sorted by ascending number of reactions (the fewest to the most).
sort:reactions-reaction org:github sort:reactions-+1 matches issues in repositories owned by {% data variables.product.product_name %}, sorted by most thumbs up (👍) reactions.
org:github sort:reactions--1 matches issues in repositories owned by {% data variables.product.product_name %}, sorted by most thumbs down (👎) reactions.
org:github sort:reactions-smile matches issues in repositories owned by {% data variables.product.product_name %}, sorted by most laugh (😄) reactions.
org:github sort:reactions-tada matches issues in repositories owned by {% data variables.product.product_name %}, sorted by most hurray (🎉) reactions.
org:github sort:reactions-heart matches issues in repositories owned by {% data variables.product.product_name %}, sorted by most heart (❤️) reactions.

Sort by author date

The sort:author-date qualifier sorts by descending or ascending author date.

Qualifier Example
sort:author-date or sort:author-date-desc feature org:github sort:author-date matches commits containing the word "feature" in repositories owned by {% data variables.product.product_name %}, sorted by descending author date.
sort:author-date-asc feature org:github sort:author-date-asc matches commits containing the word "feature" in repositories owned by {% data variables.product.product_name %}, sorted by ascending author date.

Sort by committer date

The sort:committer-date qualifier sorts by descending or ascending committer date.

Qualifier Example
sort:committer-date or sort:committer-date-desc feature org:github sort:committer-date matches commits containing the word "feature" in repositories owned by {% data variables.product.product_name %}, sorted by descending committer date.
sort:committer-date-asc feature org:github sort:committer-date-asc matches commits containing the word "feature" in repositories owned by {% data variables.product.product_name %}, sorted by ascending committer date.

Sort by updated date

The sort:updated qualifier sorts by how recently the items were updated.

Qualifier Example
sort:updated or sort:updated-desc feature sort:updated matches repositories containing the word "feature," sorted by most recently updated date.
sort:updated-asc feature sort:updated-asc matches repositories containing the word "feature," sorted by least recently updated date.

Further reading