I am using a Class (Named Tutor) outside of my main, while I am able to put a First and Last name into an Array and print them back out, when i try to sort the Array using Arrays.sort(nameOfArray); I get the exception Exception in thread "main" java.lang.ClassCastException: Tutor cannot be cast to java.lang.Comparable. I Want to try and sort all names by Last name in the Array.