The numpy arrays symbols and ocurrence both have the same size/len.
bidimentional_array = np.array([symbols,occurrence])
What I want is, do a descending sort in ocurrence and make it so that symbols index will change in function of the sort. What's the most effective way?