So I have an associative array that's 1 level deep (excerpt as below) but there are a lot of entries
[0] => Array
(
[Electronic] => 1
[Scope] => Intruder Alarm Systems
[Issued Date] => 2013-07-23 01:03:41
[Customer Name] => qqqq
[Certificate Number] => 1291087
)
[1] => Array
(
[Electronic] => 1
[Scope] => CCTV Systems
[Issued Date] => 2013-07-23 01:02:01
[Customer Name] => qqqqq
[Certificate Number] => 1291085
)
[2] => Array
(
[Electronic] => 1
[Scope] => CCTV Systems
[Issued Date] => 2013-07-17 07:15:06
[Customer Name] => Accent Foundation Ltd
[Certificate Number] => 1290822
)
I need a way of looping through this array and re-ordering it so the newest is first and so on. Basically as if you had selected it from a DB and used "ORDER BY "Issued Date" DESC"
I can't really think of a way of doing this.