risolto. se a qualcuno dovesse servire, al codice precedente ho aggiunto quello che segue


Codice PHP:
foreach ($classifica as $key => $row)
{
    
$vittorie[$key]   = $row['vittorie'];
    
$secondi[$key] = $row['secondi'];
    
$terzi[$key]   = $row['terzi'];
}

array_multisort($vittorieSORT_DESC$secondiSORT_DESC$terziSORT_DESC$classifica);