Is there a way to loop through a foreach loop opposite to the way it normally goes? For example, I have an unknown amount of files in the $_FILES variable ($_FILES['file'], $_FILES['file2'], $_FILES['3'] etc...). Using this code
foreach($_FILES as $i)
$i will output as file3, file2, file. I need it to output file, file2, file3.