Hi Expert,
i am using some analytic tools to predict a modal result, there will be only 3 result , A_result, B_result & C_result, array just like below
{
“A_result”=0.6,
“B_result”=0.3,
“C_result”=0.1
}
And array item sequence based on the result probability, the highest probability will come first, so some times the C_result may appear in the first place.
{
“C_result”=0.7,
“B_result”=0.2,
“A_result”=0.1
}
My question is how can i transform the array alway be in alphabetical order regardless the probability? then i can easily do some calculation on next step!!
thanks