Introduction - If you have any usage issues, please Google them yourself
Function Description: [p, x] = array (P, X) is sorted in descending order of the function P is the probability of the source vector, X is the probability element subscript vector p to return after sorting source vector x the probability of return for the sort subscript element probability vector