getsentry / getsentry/sentry

Sort releases by semver on the All Events Page

Open
#83,095 3 comments 0 reactions 0 assignees View on GitHub
Improvement
Dominant language
Python
Stars
44.8k
Forks
4.9k
Avg merge
22h 21m
Merged PRs (30d)
586

Description

### Environment

SaaS ([https://sentry.io/]())

### Steps to Reproduce

On the All Events page (e.g., [https://aaa.sentry.io/issues/xxx/events/]()), sorting by the "Release" column uses lexicographic sorting instead of semantic version sorting. This results in incorrect orderings where versions like 131.70.2943.13 appear higher than 131.205.2995.1.

This behavior differs from the "Resolve Issue" functionality, which correctly understands semantic versioning.

Steps to Reproduce:

* Navigate to the All Events page for any issue in your instance.
* Sort events by the "Release" column.
* Observe that versions are sorted lexicographically (e.g., 131.70.2943.13 appears before 131.205.2995.1).

### Expected Result

Releases should be sorted using semantic versioning so that higher versions (e.g., 131.205.2995.1) appear above lower versions (e.g., 131.70.2943.13).

### Actual Result

Releases are sorted lexicographically:

131.70.2943.13
131.205.2995.1
131.205.2995.0
...

![Image](https://uploads.linear.app/3ed206af-f87a-40aa-82a0-150bf83e43e6/e4119a1f-4590-4dc4-ba0c-f918ac245616/07f97556-64fa-469e-8477-84061b47bd74?signature=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJwYXRoIjoiLzNlZDIwNmFmLWY4N2EtNDBhYS04MmEwLTE1MGJmODNlNDNlNi9lNDExOWExZi00NTkwLTRkYzQtYmEwYy1mOTE4YWMyNDU2MTYvMDdmOTc1NTYtNjRmYS00NjllLTg0NzctODQwNjFiNDdiZDc0IiwiaWF0IjoxNzczMzM3NzYxLCJleHAiOjE4MDQ5MDgzMjF9.aPZKF6p0Iv_E0AKw1u1QNdcHxjZQewbID63KKR1xOgM)

### Product Area

Issues

### Link

*No response*

### DSN

*No response*

### Version

*No response*

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.