Sort indices of a matrix within a column
Within each column of a matrix, this function returns the indices of each element in descending order
sortIndex(u)
u
: is the input matrix with cardinal preferencesa matrix with sorted indices (the agents' ordinal preferences)