Sort a block of data
#include "dip_sort.h"
dip_Error dip_InsertionSort ( data, size, dataType )
Sorts a block of data (of size size and data type dataType ) using the insertion sort algorithm.
| Data type | Name | Description |
| void * | data | Data |
| dip_int | size | Size |
| dip_DataType | dataType | Data type. See DIPlib's data types |
General information about sorting
InsertionSortIndices, InsertionSortIndices16, Sort, ImageSort, SortIndices, SortIndices16, ImageSortIndices