I am trying to sort an array by index value, please take a look at the given array:
Array
(
[0] => stdClass Object
(
[id] => 645
[fullname] => sumeena
[quoteemail] => sumeena@creatinemarketing.com
[budget] => $2000+
[user_id] => 681
[p_notif_by] => 1,36,31,41,39,38,37,32
[created_on] => 2015-10-07 06:55:05
[CREATED_ON] => 2015-10-07 06:54:35
)
[1] => stdClass Object
(
[id] => 641
[fullname] => sumeena
[quoteemail] => sumeena@ourdesignz.com
[budget] => $2000+
[user_id] => 677
[p_notif_by] => 1,36,31,41,39,38,37,32
[created_on] => 2015-10-07 03:14:41
[CREATED_ON] => 2015-10-07 03:13:13
)
[2] => stdClass Object
(
[id] => 640
[fullname] => Test Do Not Delete
[quoteemail] => kamaldipkaur6785@gmail.com
[budget] => $1,500-$2,000
[user_id] => 676
[p_notif_by] => 1,39,36,31,41,38,37,32
[created_on] => 2015-10-07 02:43:16
[CREATED_ON] => 2015-10-07 02:43:16
)
[3] => stdClass Object
(
[id] => 19
[fullname] => Chris Tou Is Testing
[quoteemail] => fobtastic@outlook.com
[budget] => More than $2,000
[user_id] => 47
[p_notif_by] => 32,36,38,1,31,34,41,37,42,35,45,39,40,44,92,252,596,640,648,646
[created_on] => 2015-09-07 23:49:35
[CREATED_ON] => 2015-09-08 12:29:03
)
)
So, here is the array, now I want to sort this array by index 'CREATED_ON', how it would be possible?