title: Error: Can't compareTo()id
body: <p>I keep getting error on the <code>compareTo</code> part:</p>
  
  <blockquote>
    <p>Error:(38, 36) error: cannot find symbol method
    compareTo(CharSequence)</p>
  </blockquote>
  
  <pre><code>  Collections.sort(songList, new Comparator&lt;Song&gt;() {
          public int compare(Song a, Song b) {
              //this part down below 
              return a.getTitle().compareTo(b.getTitle());
          }
  
      });
  </code></pre>