I have this multidimensional array:
Array ( [0] => Array ( [0] => 2012-02-26 07:15:00 ) [1] => Array (
This might be what you seek:
natsort($sub_count); $rev = array_reverse($sub_count); $result = array_pad($rev, 3);
You might want to omit the actual sorting if the values you have are already in order.