local function sorted_by_highest()
local player_list = Players:GetPlayers()
table.sort(player_list, function(p1, p2)
return p1.Points.Value > p2.Points.Value -- or whatever you want to sort
end)
return player_list
end
It sorts a list of players, and returns it in descending order, so the richest player is at the top