Could you please write me Rust code that takes ownership of an array of integers and sorts them in ascending order?