Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Sorting Is Incorrect In Some Instances #24

Open
richvim opened this issue Feb 15, 2021 · 2 comments
Open

Bug: Sorting Is Incorrect In Some Instances #24

richvim opened this issue Feb 15, 2021 · 2 comments

Comments

@richvim
Copy link

richvim commented Feb 15, 2021

Bug report

For GraalVM, version 21.0.0.r11 is ranked before 21.0.0.2.r11, which was released after it. I'm guessing the sorting algorithm is having an issue with the extra .2., which should indicate recency but isn't being interpreted that way.

GraalVM       |     | 21.0.0.r11   | grl     | local only | 21.0.0.r11-grl
               |     | 21.0.0.2.r11 | grl     |            | 21.0.0.2.r11-grl
               |     | 21.0.0.2.r8  | grl     |            | 21.0.0.2.r8-grl

To reproduce

Simply sdk list java.

System info
Latest OSX.

@marc0der marc0der transferred this issue from sdkman/sdkman-cli Feb 16, 2021
@marc0der marc0der transferred this issue from sdkman/sdkman-db-migrations Feb 16, 2021
@marc0der
Copy link
Member

@richvim The sorting happens on the serverside. I'm happy to accept a PR for this.

mvitz added a commit to mvitz/sdkman-candidates that referenced this issue Oct 25, 2023
@mvitz
Copy link
Contributor

mvitz commented Oct 25, 2023

@marc0der I tried to fix this issue within #66
Could you take a look and give me feedback on this?
Thanks.

marc0der pushed a commit that referenced this issue Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants