I hope anybody can help. I want to rank (13) scores (variables) that are determined through an assessment. The scores then need to be ranked (descending order) and then match to variables RankOne, RankTwo, etc.
var player = GetPlayer();
I hope anybody can help. I want to rank (13) scores (variables) that are determined through an assessment. The scores then need to be ranked (descending order) and then match to variables RankOne, RankTwo, etc.
var player = GetPlayer();
Which part are you struggling with?
If you don't want to alter
scores
then copy it instead using[...scores]
orslice()
before sorting: