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)
First index to compare.
Second index to compare.
Array that is being sorted (order is undefined).
Handle optionally passed in while sorting.