Sort an array

Write a function that sorts an array. Your function should take two arguments: first, a pointer to an array of signed words, and second, an integer specifying the number of words in the array. Your task is to sort this array, overwriting the current array with one that is sorted. Once done, your code should return. We suggest you implement a very simple in-place sort, such as Bubble sort, but you are welcome to implement any sorting algorithm.