insertSorted
fun insertSorted(data: <Error class: unknown class>? = null, cmpFunc: CompareDataFunc): SequenceIter(source)
Inserts @data into @seq using @cmp_func to determine the new position. The sequence must already be sorted according to @cmp_func; otherwise the new position of @data is undefined.
Return
a #GSequenceIter pointing to the new item.
Since
2.14
Parameters
data
the data to insert
cmpFunc
the function used to compare items in the sequence