Lists and formsPath 14/33
ListsState & eventsDerived state
Your workspace must pass its server-side browser checks to complete this challenge.
Repair the Release Review Feed
The card layout and sort buttons are provided. Repair the sorting logic using
plain JavaScript. Release names and statuses are text; issue counts are numbers.
Requirements
- Track the sort key and direction together.
- Derive the displayed cards by sorting a copy of
releases.
- Sort text alphabetically and issue counts numerically.
- Clicking the active sort button reverses its direction; choosing a different
field starts in ascending order.
- Keep the active sort and direction visible using the provided controls.
The two releases with 3 open issues should keep their original relative order.
You only need to complete the sorted rows calculation and changeSort.