Link Search Menu Expand Document

StringInsertIntoSortedArray

Function name StringInsertIntoSortedArrayImage
Function Library Content/DRGLib/Sorting/LIB_F_Sort
Inputs StringArray(Array of Strings)
StringToInsert(String)

Inserts a String into a sorted array at it’s proper location. If the array is unsorted there’s no telling where the String will go

Implemented through a clumsy binary search. But it works so that’s what matters

Node Appearance:
Example image