Finding a ranking from list of values
Hello, im creating a web based game where people can create a virtual character and battle vs another character. I have the code setup but i want a way to rank a character based on their stats and having trouble coming up with a way to give a rank to a character
Stats are based on the following
Nature Resistance: 0
Fire Resistance: 0
Frost Resistance: 0
Not sure if its possible, my maths is too weak to think of one for myself.
thanks in advance