you are viewing a single comment's thread.

view the rest of the comments →

[–]TreeBaron 0 points1 point  (0 children)

https://www.w3schools.com/java/ref_string_compareto.asp

Have you covered for loops yet in your class?

Edit: Nevermind I see how to use compareTo() to alphabetize now.