title: NSSortDescriptor Not Sorting Array
body: <p>I am using <code>NSSortDescriptor</code> to sort my array on the basis of a key. Yesterday the same code was working very fine. But today its not sorting my array. I dont know what happened. There is not even a single code change. </p>
  
  <p>Here is my code</p>
  
  <pre><code>NSSortDescriptor *sort = [[NSSortDescriptor alloc] initWithKey:keyName ascending:is_asc];
  NSArray *temp = [arrayDFRValues sortedArrayUsingDescriptors:[NSArray arrayWithObject:sort]];
  arrayDFRValues = [NSMutableArray arrayWithArray:temp];
  [self.myTableView reloadData];
  </code></pre>
  
  <p>Please anyone can help?</p>