fn sorted<'a, I: Iterator<Item = String>>( iter: I) -> impl Iterator<Item = String>
Sorts an iterator by converting it to a Vector and back