Sort words and display them