Hello, I work in a card game where the player chooses the cards.
Each card has a level and players select four cards.
Then, the player clicks and goes to the second layout. On this screen, the cards must be arranged from the highest to the lowest level.
How do I sort them according to the cards chosen?
I wish the player was free to choose the cards he wanted and the game automatically arranged the highest to the lowest level.
I can already enrolls them in arrays, but does not list them in descending order.
I hope I have written in English correctly. tks!!!