This program reads the lines of an input file and stores them into the array words. Then each element in words[] is put into a character array and sorted alphabetically. Each sorted character array is assigned to a string and those strings populate another array sortedWords. I need to sort the elements in the sortedWords array. I get a NullPointerException when I use Arrays.sort(sortedWords).This program reads the lines of an input file a