Create an array sorting function - Update to Me

Create an array sorting function