CodeYourFuture / CodeYourFuture/React-Module-Project

Feature Sort Table Columns

Abierto
#25 0 comentarios 0 reacciones 0 asignados Ver en GitHub
🏕 Priority Mandatory 🐂 Size Medium 📅 Week 4 🧩 Feature
Lenguaje dominante
JavaScript
Estrellas
1
Forks
28
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

**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.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.