Symptom
After running triage, the highest-priority incidents (highest scores) appear at the bottom of the results list instead of the top.
Context
The triage handler scores all incidents and then sorts them before returning. The UI renders results in array order, so the first element should be the highest-priority incident.
Hints
TypeScript
TypeScript ready
Test Output
▶
Click "Run Tests" to execute your code