sorting array using nsset key value
<p>In my project, i am having array of some custom objects.Each object will be in the following format.</p>

<pre><code> {
enrollementStatus = 0;
enrollementType = 1;
titles =     (
    "0x7b316eb0 &lt;x-coredata://6F003DDD-D6CD-4514-B565-FEF9203F188C/CourseText/p246&gt;"
);}
</code></pre>

<p>In this object titles is nsset type.while print this object,It will look like</p>

<pre><code>   ( "&lt;CourseText: 0x7b316f60&gt;
     (entity: CourseText; id: 0x7b316eb0 data: 
    {\n    course = \"0x7aa69870 &lt;x-coredata://6F003DDD-D6CD-4514-B565-FEF9203F188C/Course/p11&gt;\";\n  
  descr = \"(null)\";\n   
     lang = \"en-US\";\n  
      title = CSDFFFFF;\n})"
</code></pre>

<p>I want to sort this array based on thistitles(NSSet object) title(alphabetical order).Please give me a suggestion</p>