As shown in the plot produced by R, the legend are not arranged in an alphabetical order.
I tried to arrange the orginal data in alphabetical order but the legend still not arranged alphabetically.
And I also failed to find a solutions from internet to solve the problem.
I will very very grateful if u can give me some clue on how to solve this.
Jingxin.