fn main() { let mut array = vec![3, 0, -5, 5, 105, 1]; array.sort(); println!("{:?}", array);}
Standard input is empty
[-5, 0, 1, 3, 5, 105]
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!