Sorts a custom 1D array. You must pass in a comparison function.
native void SortCustom1D(int[] array, int array_size, SortFunc1D sortfunc, Handle hndl = INVALID_HANDLE)