title: Sorting arraylist in alphabetical order (case insensitive)
body: <p>I have a string arraylist <code>names</code> which contains names of people. I want to sort the arraylist in alphabetical order.</p>
  
  <pre><code>ArrayList&lt;String&gt; names = new ArrayList&lt;String&gt;();
  names.add("seetha");
  names.add("sudhin");
  names.add("Swetha");
  names.add("Neethu");
  names.add("ananya");
  names.add("Athira");
  names.add("bala");
  names.add("Tony");
  names.add("Karthika");
  names.add("Nithin");
  names.add("Vinod");
  names.add("jeena");
  Collections.sort(names);
  for(int i=0; i&lt;names.size(); i++)
      System.out.println(names.get(i));
  </code></pre>
  
  <p>I tried to sort the list in above way. But it is displaying the sorted array as:</p>
  
  <pre><code>Athira
  Karthika
  ..
  ..
  ananya
  bala
  ...
  </code></pre>
  
  <p>but I don't want to make it case sensitive. I want the result as:</p>
  
  <pre><code>ananya
  Athira
  bala
  </code></pre>