- SonarQube Version 9.3 (build 51899)
In the UI, go to a project and open the dropdown menu for different branches and merge requests. The sorting of those seems a little bit confusing (see attached screenshot). So after switching from 99 to 100, the list starts with 100 instead of the lowest value.
What you’re seeing is an alphabetical sort of PR key.
This has been reported internally in the past, without getting enough “traction” to actually get fixed (partly because we couldn’t agree on what the sort should be.)
Could you share what sort you expect?
As for the merge request view which is numbered, I would expect them to be sorted by the number. For normal analysis on different branches the alphabetical sorting is fine.
Thanks for this. I’m going to pass it on internally.
To be clear, I guess you expect a descending sort (newest on top)?
Yes, exactly. Newest on top would be perfect!
Thanks a lot for the report @colin1993. What you report and what you expect make total sense to me.
I’ve created this ticket to track the change.