display the place of players

hello fellow unity users, i need to pick your brains…!!!

i have four players, when one of their scores hits 0 i load the gameover screen!

i would like to display what place them come, as the player with the most points left is 1st and so on!

what would be the best way to implement this?

thanks :slight_smile:

Put the values in an array (if they are not there already) and sort them:

http://docs.unity3d.com/Documentation/ScriptReference/Array.Sort.html