title: How do I order a string array ascending and descending alphabetically? C# .NET or Java
body: <p>Well, I have a string array:</p>
  
  <pre><code>String array[] = new String[5];
  
  array[0]="abc";
  array[1]="aab";
  array[2]="aaacb   sf";
  array[3]="  ab";
  array[4]="hello";
  </code></pre>
  
  <p>How do I order ascending and descending?</p>