Skip to content

Feature Sort Table Columns #25

@RbAvci

Description

@RbAvci

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

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions