title: Simple way to sort strings in the (case sensitive) alphabetical order
body: <p>I need to sort list of strings in the alphabetical order:</p>
  
  <pre><code>List&lt;String&gt; list = new ArrayList();
  list.add("development");
  list.add("Development");
  list.add("aa");
  list.add("AA");
  list.add("Aa");
  </code></pre>
  
  <p>A common way to do it is to use comparator:</p>
  
  <pre><code>Collections.sort(list, String.CASE_INSENSITIVE_ORDER);
  </code></pre>
  
  <p>The problem of the CaseInsensitiveComparator that “AA” is equals to “aa”. Strings appear in the result according to the order of adding for the same values, and it is not correct:</p>
  
  <pre><code>"aa","AA","Aa","development","Development"
  </code></pre>