Leaderboard table component has a column called "Total Wealth" which displays all users' current wealth of a specific common. And this column as the sorting ability, but in this case it is not working as intended. For example, users with 10000 dollars will have lower ranks than users with 198 dollars.
Expected Behavior
When sorted in ascending order by total wealth , users should be displayed in ascending order in a correct way. Namely, 0 < 100 < 500 < 999 < 1000 and so on instead of the random order the website displays right now.
Current / Observed Behavior
When sorted by total wealth, leaderboard table does't list users in the correct order at the moment. For example, users with 10000 dollars will have lower ranks than users with 198 dollars, which is not what we want.
Steps to Reproduce
Join a common.
Have enough users in that common.
Each users can buy some cows and sell some cows so that they have different total wealth. Let's say in this case, $8, $2308, $9999, $1.5 respectively for four active users in that common.
Sort the users by total wealth
Check if the users are listed in the correct order based on their current wealth.
Have you updated the title?
Summary
Leaderboard table component has a column called "Total Wealth" which displays all users' current wealth of a specific common. And this column as the sorting ability, but in this case it is not working as intended. For example, users with 10000 dollars will have lower ranks than users with 198 dollars.
Expected Behavior
When sorted in ascending order by total wealth , users should be displayed in ascending order in a correct way. Namely, 0 < 100 < 500 < 999 < 1000 and so on instead of the random order the website displays right now.
Current / Observed Behavior
When sorted by total wealth, leaderboard table does't list users in the correct order at the moment. For example, users with 10000 dollars will have lower ranks than users with 198 dollars, which is not what we want.
Steps to Reproduce
Browser / Platform Info
Chrome on macOS Ventura 13.3