I have an array of values which was merged by two array . The given arrays are ordered by some query. Now i the new merged array having in order array values.
Now I want to order that array values by key 'desc' key named 'featured' it contains numeric values
Example
Array
(
[0] => stdClass Object
(
featured=> 0,
shop_update =>a,b,c )
[1] => stdClass Object
(
featured=> 1,
shop_update =>a,,c ),
[2] => stdClass Object
(
featured=> 1,
shop_update =>a,c ),
How to order this array by featured desc ?
Any help?