Generate an array of 100 random integers between 1 and 1000, sort them in descending order, then reverse the array.