Click or drag to resize

CvInvokeSort Method

http://www.emgu.com
Sorts each matrix row or each matrix column in ascending or descending order.So you should pass two operation flags to get desired behaviour.

Namespace:  Emgu.CV
Assembly:  Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
Syntax
public static void Sort(
	IInputArray src,
	IOutputArray dst,
	SortFlags flags
)

Parameters

src
Type: Emgu.CVIInputArray
input single-channel array.
dst
Type: Emgu.CVIOutputArray
output array of the same size and type as src.
flags
Type: Emgu.CV.CvEnumSortFlags
operation flags
See Also