title: Java compare strings that have characters and numbers
body: <p>In Java , I want to compare and sort strings that contain a character and a number. For example:</p>
  
  <p>A15, D35, A17, C45, B27, C30 should be sorted</p>
  
  <p>A15 A17 B27 C30 C45 D35. I am not really sure how to compare two of those elements because they contain a string and a number. Can anyone help me please?</p>