forked from CodeYourFuture/React-Module-Project
-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
From React-Module-Project created by SallyMcGrath: CodeYourFuture#25
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.
Metadata
Metadata
Assignees
Projects
Status
👀 In review