Hi I was wondering
1\. how you would sort a string by characters For example: fn main() { let mut x = "bad cab".chars().collect::<Vec<char>>(); x.sort(); println!("{}", x.into_iter().collect::<String>()); } // prints " aabbcd" 2\. if there is any equivalent to [Collect::<T>() or Collect::<Vec<T>>()](https://doc.rust-lang.org/std/iter/trait.Iterator.html#method.collect) in the standard library.