SortFuncADTArray Typedef

Sort comparison function for ADT Array elements. Function provides you with indexes currently being sorted, use ADT Array functions to retrieve the index values and compare.

typedef SortFuncADTArray = function int(int index1, int index2, Handle array, Handle hndl)

Tags

index1

First index to compare.

index2

Second index to compare.

array

Array that is being sorted (order is undefined).

hndl

Handle optionally passed in while sorting.