functions/arrays/sortedIndex library

Functions

sortedIndex(List list, dynamic value) int
Uses a binary search to determine the lowest index at which value should be inserted into list in order to maintain its sort order. Returns the index at which value should be inserted into list. Example