title: Sort array that contain alphanumeric words in iOS
body: <p>I have a array with 10 elements called products which is sorted by default, this is the current log now.</p>
  
  <pre><code>for (int i=0;i&lt;products.count; i++)
  {
       NSLog(@"%@",products[i]);
  }
  </code></pre>
  
  <p>The Output:</p>
  
  <pre><code>Product1
  Product10
  Product2
  Product3
  Product4
  Product5
  Product6
  Product7
  Product8
  Product9
  </code></pre>
  
  <p>I need to sort it in following order:</p>
  
  <pre><code>Product1
  Product2
  Product3
  Product4
  Product5
  Product6
  Product7
  Product8
  Product9
  Product10
  </code></pre>
  
  <p>My current method is to scan out the numbers and sort based on that, I was wondering if there is any other way or and default method in iOS that does this or should I have to stick with my current method of scanning the numbers in each element and then sort??</p>