title: Sorted Array Select biggest and smallest object
body: <pre><code>NSSortDescriptor* sortOrder = [NSSortDescriptor sortDescriptorWithKey: @"self" ascending: NO]; 
  NSLog(@"%@",[ratio sortedArrayUsingDescriptors: [NSArray arrayWithObject: sortOrder]]);
  </code></pre>
  
  <p>i sorted array but cannot choose biggest and smallest object from array. How can i do this?</p>
  
  <p><code>NSLog</code> screen is following like this; <code>99, 99, 99, 91, 91, 88, 88, 88, 88, 77, 77, 66, 66, 66,</code></p>
  
  <p>how can i take <code>objectforkey:0</code> at sorted array</p>