I have a webservice and I get this response when I call the webservice.
[
{
"ProjectID": 1,
"SLNO": 1,
"ID": 1,
"Type": "Text",
"Name": "First Name",
"**Order**": 1,
"Flag": "F"
},
{
"ProjectID": 1,
"SLNO": 3,
"ID": 2,
"Type": "Text",
"Name": "Company",
"**Order**": 5,
"Flag": "F"
},
{
"ProjectID": 1,
"SLNO": 4,
"ID": 4,
"Type": "Text",
"Name": "Personal Email",
"**Order**": 3,
"Flag": "F"
},
{
"ProjectID": 1,
"SLNO": 2,
"ID": 8,
"Type": "Text",
"Name": "Last Name",
"**Order**": 2,
"Flag": "F"
}
]
Now I want to sort this complete array depending on the order which I get inside this array? How can I achieve this?