Hi all.
I have two matrices of the same size (1 x ncols, vectors actually) and I need
- one of them sorted in descending order
- another one reordered according to the first one.
What is the most optimal method to do that?
cv::sortIdx() function gives me correct ordering, but I cannot figure out, how to use it for this task.