Sorts each row or each column of a matrix. The function sortIdx sorts each matrix row or each matrix column in the ascending or descending order. So you should pass two operation flags to get desired behaviour. Instead of reordering the elements themselves, it stores the indi
(Mat src, Mat dst, int flags)
source not stored for this graph (policy: none)