Originariamente inviata da _debo Direi che il loop è superfluo ed aggiunge unnecessary complexity. Codice PHP: $header = array_shift($source);sort($source);$result = array_unshift($source, $header); Conciso e funzionante: perfetto! Grazie mille
$header = array_shift($source);sort($source);$result = array_unshift($source, $header);
Regole del Forum