Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for($i = 0; $i < count($jogadores); $i++) {
- for($x = 0; $x < count($jogadores); $x++) {
- if(array_key_exists($x, $jogadores))
- if($jogadores[$i][1][0] < $jogadores[$x][1][0]) {
- $temp = $jogadores[$i];
- $jogadores[$i] = $jogadores[$x];
- $jogadores[$x] = $temp;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement