different ways of manipulating an array (sort, reverse, splice, push, pop, shift, unshift)