Código PHP:
foreach( $filas as $llave => $fila) $temp[$fila[2]]=$filas[$llave];
Código PHP:
Array
(
[7] => Array
(
[0] => Tulips
[1] => Lorem ipsum dolor sit amet, consectetur adipisicing elit. Cum, numquam.
[2] => 26/02/2015
[3] => Tulips.jpg
)
[6] => Array
(
[0] => Penguins
[1] => Lorem ipsum dolor sit amet, consectetur adipisicing elit. Consequuntur, incidunt.
[2] => 27/02/2015
[3] => Penguins.jpg
)
[5] => Array
(
[0] => Lighthouse
[1] => Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ex, suscipit.
[2] => 27/02/2015
[3] => Lighthouse.jpg
)
[4] => Array
(
[0] => Koala
[1] => Lorem ipsum dolor sit amet, consectetur adipisicing elit. Animi, accusamus.
[2] => 27/02/2015
[3] => Koala.jpg
)
[3] => Array
(
[0] => Jellyfish
[1] => Lorem ipsum dolor sit amet, consectetur adipisicing elit. Laudantium, amet.
[2] => 27/02/2015
[3] => Jellyfish.jpg
)
[2] => Array
(
[0] => Hydrangeas
[1] => Lorem ipsum dolor sit amet, consectetur adipisicing elit. Voluptatum, explicabo.
[2] => 27/02/2015
[3] => Hydrangeas.jpg
)
[1] => Array
(
[0] => Desert
[1] => Lorem ipsum dolor sit amet, consectetur adipisicing elit. Esse, iusto.
[2] => 27/02/2015
[3] => Desert.jpg
)
[0] => Array
(
[0] => Chrysanthemum
[1] => Lorem ipsum dolor sit amet, consectetur adipisicing elit. Numquam, est!
[2] => 27/02/2015
[3] => Chrysanthemum.jpg
)
)