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
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.
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!!