Enhance ux by implementing sorting capabilities for the all Validators table (Active/Waiting) within the Nomination page. This will improve usability and allow users to navigate and organize the validator data more effectively.
Clickable column headers to toggle between ascending and descending order for sorting.
Default sorting should be set on the "Effective Amount Staked" column in descending order to immediately highlight validators with the most significant stake.
Down Arrow (↓): This indicates descending order. When clicked, the table will sort the column from the largest or greatest value at the top to the smallest or least value at the bottom.
Up Arrow (↑): This indicates ascending order. When clicked, the table will sort the column from the smallest or least value at the top to the largest or greatest value at the bottom.
Example Screenshots
default is sorted by effective amount staked, selecting a table header item (i.e., identity in this case) will enable sorting
table is now sorted by identity in alphabetical order
selecting again will reverse the sorting order
above are examples of the interaction, same logic should be applied to all table header items.
similar logic should also be applied to Nominations and Payouts tables
Description
Enhance ux by implementing sorting capabilities for the all Validators table (Active/Waiting) within the Nomination page. This will improve usability and allow users to navigate and organize the validator data more effectively.
Sorting Features:
Example Screenshots
default is sorted by
table is now sorted by
selecting again will reverse the sorting order
![Image](https://github.com/webb-tools/webb-dapp/assets/109539270/3e505079-9f4c-487c-9634-157a5441eb2c)
effective amount staked
, selecting a table header item (i.e.,identity
in this case) will enable sortingidentity
in alphabetical orderNominations
andPayouts
tables