PeopleShuffleSort.java – Create a program that takes four to eight one-word Strings as a command line arguments, creates/initializes an array of those strings stored in reverse and displays them, shuffles and displays the values, and then sorts the array and displays them alphabetically.
Use the args.length() method to make sure there are at least four command line arguments, but no more than eight. You can also use it to figure out how big to make the array…

Terminal output should look something like this…
java-introcs PeopleShuffleSort Peter Paul Mary Joe Jane
Initializing…
Jane Joe Mary Paul Peter
Shuffling…
Paul Jane Mary Joe Peter
Sorting…
Jane Joe Mary Paul Peter

You will use at least THREE loops, each of which goes through the whole array:
Initialize each of the values of the array to it’s REVERSE input position
Shuffle each of the values in the array to a RANDOM position
Sort each value in the array to it’s English ALPHABETIC position
Run the test no less than three times, each with several different values, and then copy the output from ALL sessions from the Terminal window to a PeopleShuffleSortOutput.txt file.
You are handing in:
PeopleShuffleSort.java (NOT the CLASS file)
PeopleShuffleSortOutput.txt
Tips:

-Please submit as individual files. Don’t ZIP them.
-Update your header information for the Java files, and ADD header info in your -OUTPUT files so I know whose is whose!
-Add your own comments to the code, explaining what you’ve done
-Collaboration is fine, but HAND IN YOUR OWN WORK.
-Test! If it doesn’t work, I can’t grade it properly.