title: Java data structure that can be indexed and holds two values
body: <p>Developing a football/soccer application, however I need a data structure that can be indexed and holds two values. If it can also be sorted that would be great.  The two values are the players name and their ratings out of 10. e.g.</p>
  
  <p>(John Smith, 9).</p>
  
  <p>The problem with HashMaps is that, even though it will hold two values, the data itself is not indexed. </p>
  
  <p>Thanks,</p>