Skip to content

Game version dropdown in project Download modal sorts versions lexicographically (e.g., 1.21.11 below 1.21.4) #8416

Description

@DongShaoNB

Please confirm the following.

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 below 1.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

  1. 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).
  2. Click the Download button to open the download modal.
  3. 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

Additional context

image

Activity

  1. added
    website
    on Nov 22, 2026
  2. added theissue type on Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    website

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions