I assume this would imply also adding Vec::sorted_by and Vec::sorted_by_key?
It being on Vec is a nice way to avoid the "does it collect, does it return a Vec or an iterator, is it lazy" etc questions that happen with any iterator version.
I assume this would imply also adding Vec::sorted_by and Vec::sorted_by_key?
It being on Vec is a nice way to avoid the "does it collect, does it return a Vec or an iterator, is it lazy" etc questions that happen with any iterator version.