ObjectInsertIntoSortedArray
| Function name | ObjectInsertIntoSortedArray |
|---|---|
| Function Library | Content/DRGLib/Sorting/LIB_F_Sort |
| Inputs | ObjectArray(Array of Object References)ObjectToInsert(Object Reference)SortInterface(LIB_I_SortInterface) Any object that utilizes the LIB_I_SortInterface |
Inserts an object into a sorted array at it’s proper location. If the array is unsorted there’s no telling where the object will go
Implemented through a clumsy binary search. But it works so that’s what matters
Node Appearance:
