1

i have this array of dates and trying to reorder the array based on the dates but i don't want to use foreach and loop over the array please any help on this

Array
(
    [0] => 15/09/2016 00:00
    [1] => 02/09/2016 00:00
    [2] => 01/09/2016 00:00
    [3] => 29/09/2016 00:00
)
Fadi
  • 2,320
  • 8
  • 38
  • 77

1 Answers1

1

Look here. It gives a few different ways to sort arrays

Danny Buonocore
  • 3,731
  • 3
  • 24
  • 46
Teuno
  • 11
  • 2