Sorting an array by a key
Posted: Tue Nov 27, 2012 7:14 pm
I have an array with several entries.
A common key inside is "date_timestamp"
Lets pretend this array is called $items
How do i organise the elements inside $items by the common key "date_timestamp" which is a unix time stamp?
A common key inside is "date_timestamp"
Lets pretend this array is called $items
How do i organise the elements inside $items by the common key "date_timestamp" which is a unix time stamp?