title: Sorting a multidimensional array in objective-c
body: <p>I'm trying to sort a multidimensional array in objective-c i know that i can sort a single dimensional array using the line of code below:</p>
  
  <pre><code>NSArray *sortedArray = [someArray sortedArrayUsingSelector:@selector(caseInsensitiveCompare:)];
  </code></pre>
  
  <p>I can't seem to figure out how to sort a 2D array like the one below:</p>
  
  <pre><code> ( ("SOME_URL", "SOME_STORY_TITLE", "SOME_CATEGORY"),
      ("SOME_URL", "SOME_STORY_TITLE", "SOME_CATEGORY"),
      ("SOME_URL", "SOME_STORY_TITLE", "SOME_CATEGORY") );
  </code></pre>
  
  <p>If someone could provide me code that would sort the array by SOME_CATEGORY it would be of great help to me.</p>
  
  <p>Thanks,</p>
  
  <p>Zen_Silence</p>