maybe this is a dumb question, just want to know how can i sort Player based on their properties?
example there are 5 players joining room, each player has different score. I want to set their turn in game from the lowest score to highest. score is loaded from database object when player joining room.
thanks for any help