title: Sorting Strings that contains number in Java
body: <p>I have problem with default comparator for Strings (in SortedSet). The problem is that default comparator doesn't sort good String that contains numbers i.e.:
  In set i have:</p>
  
  <pre><code>room1, room2, room100
  </code></pre>
  
  <p>Natural ordering should be like above but in set I have:</p>
  
  <pre><code>room1, room100, room2
  </code></pre>
  
  <p>I know why it is but I don't know how to change it.</p>