Sort builds in stage dropdown
What does this MR do?
It makes builds in stage dropdown to be sorted by severity.
failed pending running manual canceled success skipped created
Screenshots (if relevant)
Does this MR meet the acceptance criteria?
- Changelog entry added
- Documentation created/updated
- API support added
- Added for this feature/bug
- All builds are passing
- Conform by the merge request performance guides
- Conform by the style guides
Branch has no merge conflicts with
master(if it does - rebase it please)
- Squashed related commits together
What are the relevant issue numbers?
Closes #28354 (closed)