vec.sort(); vec.reverse();
fn main() { let mut vec = vec![1, 5, 10, 2, 15]; vec.sort(); }
let mut vec = vec![1, 2, 3]; vec.reverse(); println!("{:?}", vec); // [3, 2, 1] vec.sort(); println!("{:?}", vec) // [1, 2, 3]