title: How to sort an array in iOS?
body: <p>i am newbie in iOS Development. My array Contain Dictionary Value Key like as </p>
  
  <pre><code>for(NSDictionary *dict in self.imageArray )
      {
      [self.imagesa addObject:@{@"demopage":[dict valueForKey:@"demopage"]}];
      }
  </code></pre>
  
  <p>Here my "demoPage" Key Value Contain Two Key like as "link" and "Pageno" here link contain my ImageURL and "pageno" contain page number like as</p>
  
  <pre><code>-demopage
  {
  link:"URL",
   page_no: "12"
  },
  {
  link:"URL",
  page_no: "13"
  },
  {
  link: "URL",
  page_no: "14"
  },
  {
  link: "",
  page_no: "3"
  },
  {
   link:"URL",
   page_no: "31"
  },
  {
  link: "URL",
  page_no: "32"
  },
  </code></pre>
  
  <p>When i parsed it then i get data in This range like as 12,13,14,3,31,32 i want to arrange this image like as page number based i want it like as 1,2,3 up to data array.</p>