You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Game version dropdown in project Download modal sorts versions lexicographically (e.g., 1.21.11 below 1.21.4) #8416
I have tried resolving the issue using the support portal
What browsers are you seeing the problem on?
Microsoft Edge, Chrome (including Arc, Brave, Opera, Vivaldi)
Describe the bug
On a project's detail page, the game version dropdown inside the Download modal sorts Minecraft versions lexicographically (as strings) instead of following semantic/natural version ordering.
As a result, 1.21.11 and 1.21.10 appear below1.21.4 and 1.21.3. Other game version dropdowns across the site (such as search filters and the Versions tab) appear to sort correctly; this issue only occurs in the Download modal.
Steps to reproduce
Open any project page on Modrinth that supports 1.21.10 or 1.21.11 alongside earlier 1.21.x versions (e.g., https://modrinth.com/mod/fabric-api/versions#download).
Click the Download button to open the download modal.
Click the Select game version dropdown and inspect the 1.21.x entries.
Expected behavior
Versions should be sorted in proper release/semantic order (consistent with other dropdowns on the site): 1.21.11 -> 1.21.10 -> 1.21.4 -> 1.21.3 -> 1.21.1 -> 1.21 -> 1.20.6
Activity