Release page not sorting correctly?


I think I’ve found a bug or anyway a strange behavior on the Release page.

If you open you’ll see that the canary release is below the latest stable release, although the tag is placed on the very next commit to the stable one ( which was pushed afterwards ). From a commit list perspective the order should be:

  • Canary
  • Stable

Although on the Github page as you can see, the Canary release is below the stable. May I ask which is the order criteria? If it’s by date, I should have Canary first, if it’s by commit should be the same. Although it seems neither one of those is applying.

Any help is appreciated :slight_smile:

Thank you in advance!

Hi @julianxhokaxhiu,

Happy to clarify! Releases are based on Git tags, which mark a specific point in your repository’s history. The sort order of tags is as follows:

  • Tags are sorted by the timestamp of the underlying commit that they point to
  • If those commits are created on the same day, then the sorting is based on Semantic Versioning of the name of the tag (
  • If the Semantic Versioning is the same, they are sorted by second of creation

Pre-release versions have a lower precedence than the associated normal version.

HI Ernest,

Thank you very much for the clarification! Would it be possible to have an option to at least say “I’d like to have Pre-release versions ordered BEFORE the stable releases?”.

It would definitely help my project where canaries ( or nightlies ) are definitely more updated then the stable ( although they do increate the last part of the semver, so stable is 1.0.0 and canary is 1.0.79 for eg. ).

Thank you again for your time and for the reply, really appreciated!

Stay safe,

Hi @julianxhokaxhiu,

The stable (latest) release will always appear first in your releases.
We’re always working to improve GitHub, and we consider every suggestion we receive, so perhaps you’d like to submit a feature request through our official product feedback form so that our product team can see exactly how you’d like this feature to work?

Hi Ernest,

Thank you again for the reply. I’ll definitely do that hoping this will be implemented!


1 Like