I need to sort associative array by value (using "position" value as shown below). I tried by converting into array. It is working fine. But I wanted to know, Is there any other way of doing it?
{
"CAB":{
name:CBSSP,
position:2
},
"NSG":{
name:NNSSP,
position:3
},
"EQU":{
name:SSP,
position:1
}
}