{ "result": true,
"users": [{
"id": 11,
"expected_count": 13,
"user_id": 1,
"event_id": 2,
"user": {
"id": 1,
"name": "Moiz Jamali"
}
},
{
"id": 12,
"expected_count": 12,
"user_id": 2,
"event_id": 2,
"user": {
"id": 2,
"name": "Juzer Samiwala"
}
}]
}
Above the an output of my Big Array ('users').
What I want to do is sort this big array ('users') according to the name value which is inside the small array ('user') in PHP.
Can anyone please help me with this?
Thank you.