SortCustom1D Function

Sorts a custom 1D array. You must pass in a comparison function.

void SortCustom1D(int[] array, int array_size, SortFunc1D sortfunc, Handle hndl)

Parameters

int[] array

Array to sort.

int array_size

Size of the array to sort.

SortFunc1D sortfunc

Sort function.

Handle hndl

Optional Handle to pass through the comparison calls.