title: NSArray reverse index sort
body: <p>Here is my <code>NSArray</code></p>
  
  <pre><code>myArray = [NSArray arrayWithObjects: @"a", @"b", @"c", @"d", @"e", nil];
  </code></pre>
  
  <p>Now I'm looping through the array like this:</p>
  
  <pre><code>int size = [myArray count];
  NSLog(@"there are %d objects in the myArray", size);
  
  for(int i = 1; i &lt;= size; i++) {
      NSString * buttonTitle = [myArray objectAtIndex:i]; 
      // This gives me the order a, b, c, d, e 
      // but I'm looking to sort the array to get this order
      // e,d,c,b,a
  
      // Other operation use the i int value so i-- doesn't fit my needs
  }
  </code></pre>
  
  <p>In the for loop this gives me the order:</p>
  
  <pre><code>a, b, c, d, e 
  </code></pre>
  
  <p>but I'm looking to sort the array to get this order:</p>
  
  <pre><code>e, d, c, b, a
  </code></pre>
  
  <p>Any thoughts?</p>
  
  <p>I need to keep the array in the original sort order as well.</p>