BE: Allow sorting by health status in the issue list
Proposal
Allow sorting by health status in the issue list. This would be useful for users that want to see all issues but review the ones that are not "healthy" first.
The ordering should follow the following behaviour:
- When ascending, healthy issues will be shown first (on track, needs attention, at risk).
- When descending, unhealthy issues will be shown first (at risk, needs attention, on track).
- Issues without a health status will always be shown last.
This issue tracks the backend work only and the frontend work will be completed via #377841 (closed).
This page may contain information related to upcoming products, features and functionality. It is important to note that the information presented is for informational purposes only, so please do not rely on the information for purchasing or planning purposes. Just like with all projects, the items mentioned on the page are subject to change or delay, and the development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab Inc.