Returns a slice from the list, but the slicing is done by element.
* Search is done in a way that if either cmp or equals is true to an element, its position will be chosen
* for the slice.
structSortedList(E, alias cmp = "a < b", bool allowDuplicates = true, alias equal = "a == b")
Returns a slice from the list, but the slicing is done by element. * Search is done in a way that if either cmp or equals is true to an element, its position will be chosen * for the slice.