title: Sorting <Player> ArrayList names alphabetically
body: <pre><code>/**
   * Sorts the list of players alphabetically by name.
   * Adapt insertion sort algorithm.
   * You can assume that no two players have the same name.
   * Question T1. Adapting insertion sort for this method
   * could yield efficiencies relative to some other approaches
   * for some important special cases.
   * Do you agree and if so why? Write about 6 to 10 lines.
   */
  public void alphabeticSort() {
      Player temp;
  
      for (int i = 0; i &lt; players.size(); i++) {
          for (int j = players.size() - 1; j &gt; i; j--)
              if (players.get(i).compareTo(players.get(j)) &lt; 0) {
  
                  temp = players.get(i);
                  players.set(i, players.get(j));
                  players.set(j, temp);
              }
          }
      }
  </code></pre>
  
  <p>I've been trying and trying but I am having some difficulty trying to compare as you are unable to use <code>&lt;</code> and <code>&gt;</code> with a <code>&lt;Player&gt;</code> class <code>ArrayList</code>. We are also unable to use any <code>Collection.sort</code> imports.</p>
  
  <p>A push in the right direction would be great!</p>