Link Search Menu Expand Document

CompareFunction

Function name CompareFunction
Interface Content/DRGLib/Sorting/LIB_I_Sort
Inputs A(Object Reference)</br>B(Object Reference)
Outputs A>B(Boolean)

This function is what lets the object sorting function lib work.

ObjectQuickSort and ObjectInsertIntoSortedArray will need an input that implements this function

The below image shows an example of how to use this to compare two objects

Example image