Roblox leaderbaord determination for highest player?

How does roblox determine which value to base the players in the leaderstats from top to bottom? Is it the value nearest to the left side?

Why is the highest player based on Points and not Wins?

I believe it is whichever value is added first to the leaderstats folder.


When I added Gold to the leaderstats folder first, the players were sorted by their Gold values:
image

Code

image


When I added Silver to the leaderstats filder first, the players were sorted by their Silver values:
image

Code

image


Note: The value that is added first goes on the left-most side anyway, and is the value that the players are sorted by. I think that the values go from left to right in order that they are added in.

1 Like

This is because the points are first in the script created so If points are first then Wins Points is first

image

1 Like