Skip to content

Feature Sort Table Columns #28

@A-Bahadory

Description

@A-Bahadory

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

No one assigned

    Projects

    Status

    📋 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions