title: NSMutableArray sort with object
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/805547/how-to-sort-an-nsmutablearray-with-custom-objects-in-it">How to sort an NSMutableArray with custom objects in it?</a>  </p>
  </blockquote>
  
  
  
  <p>i have a object with Type of NSObject contains "posts" object type of NSMutableArray. that post object has ID property. </p>
  
  <p>MyObject.posts.post.ID = NSInteger;</p>
  
  <p>I want to sort "posts" NSMutableArray by ID. i have tried couple ways but couldn't be success.
  any help/sample would be great.</p>
  
  <p>thank you.</p>