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,213
  • 6
  • 36
  • 72

1 Answers1

1

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

Danny Buonocore
  • 3,568
  • 3
  • 21
  • 44
Teuno
  • 11
  • 2