I am getting JSON like below:
"Array1":
[
{
"abc": "3_name",
"id": 34,
"order": [3]
},
{
"abc": "1_name",
"id": 50,
"order": [1]
},
{
"abc": "2_name",
"id": 4,
"order": [2]
}
]
I don't know how to sort the Array1 according to "order" which is itself an array. Please help. I could not figure out how to sort it using NSSortDescriptor or any other method available in Objective-C.