How do you alphabetize a list of book titles from a text document in Java?

Given the following in folder 1:

The Hobbit Tolkien, J.R.R. Acer Dumpling Doofus, Robert A Christmas Carol Dickens, Charles Marley and Me Remember, SomeoneIdont The Bluff Dougan, Thomas & Peters, Paul & Elliot, Sam Acer Dumpling Sagan, Carl & Smith, Tom Building Java Programs Reges, Stuart & Stepp, Marty Java, How to Program Deitel, Paul & Deitel, Harvey The Time Machine Wells, H.G. The Time Machine Howell, Carl & Smith, Peter & Saunders, Alan & Botje, Wil

Given the following in folder 2:

Acer Dumpling Dude, Cool & Daddy, Big The Bluff Zwayer, Ted & Starr, Ringo & Stork, Tony The Time Machine Sagan, Carl & Peters, Tom Acer Dumpling Mott, John & Peters, Carl & Regan, Sarah & Dennis, George

How do I sort Folder 1 alphabetically to the following:

"A Christmas Carol," by Dickens, Charles "Acer Dumpling," by Doofus, Robert "Acer Dumpling," by Sagan, Carl & Smith, Tom "Building Java Programs," by Reges, Stuart & Stepp, Marty "Java, How to Program," by Deitel, Paul & Deitel, Harvey "Marley and Me," by Remember, SomeoneIdont "The Bluff," by Dougan, Thomas & Peters, Paul & Elliot, Sam "The Hobbit," by Tolkien, J.R.R.

How do I print every book title & author from Folder 1 like the following:

"A Christmas Carol," by Dickens, Charles "Acer Dumpling," by Doofus, Robert "Acer Dumpling," by Sagan, Carl & Smith, Tom "Building Java Programs," by Reges, Stuart & Stepp, Marty "Java, How to Program," by Deitel, Paul & Deitel, Harvey "Marley and Me," by Remember, SomeoneIdont "The Bluff," by Dougan, Thomas & Peters, Paul; Elliot, Sam "The Hobbit," by Tolkien, J.R.R. "Acer Dumpling," by Dude, Cool & Daddy, Big "The Bluff," by Zwayer, Ted & Starr, Ringo & Stork, Tony

FYI: the last names are listed first, followed by the first name.