I have a piece of a var_dump of one of my array items displayed here:
protected 'created_at' =>
object(Carbon\Carbon)[178]
public 'date' => string '2014-01-23 00:00:00' (length=19)
public 'timezone_type' => int 3
public 'timezone' => string 'Europe/Amsterdam' (length=16)
my question is how can I sort this array on the created_at
variable?
it should be descending.
Thanks for your effort!