CodeYourFuture / CodeYourFuture/React-Module-Project
Feature Sort Table Columns
Aberta
🏕 Priority Mandatory
🐂 Size Medium
📅 Week 4
🧩 Feature
- Linguagem predominante
- JavaScript
- Estrelas
- 1
- Forks
- 28
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
**Instructions:**
Add an `onClick` handler to the columns of the result table, which sorts the results ascending (A -> Z). Clicking the column again will reverse the sort order to descending (Z -> A).
**Hint:** Try using the `.sort()` method with a callback to do custom sorting.
**Test:**
- [ ] Each column in the table should be clickable to sort results in ascending or descending order.
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Avaliação
Esta issue ainda não foi avaliada.