I created an object called "Course" which has 4 instance variables - class code, instructor, title, and points. In the course class, I also have a compareTo method which compares the class code.
In another class, I created an array of courses and I'm trying to sort them by the class code. How do I do that? I can't call the sort or compare to method on the array, and I'm kind of stuck...