Lesson 6 updates - build loop to sort and display words array.