title: Sorting ng-repeat elements dynamically according to date
body: <p>I want to order by elements according to date.</p>
  
  <pre><code>&lt;ion-item ng-repeat="item in PortfolioIdeaList | orderBy:'CreatedDate'" style="background-color:rgb(25, 26, 0);" ng-click="ShowIdeaDetails(item.Id)"&gt;
             &lt;div class="row"&gt;
                 &lt;div class="col col-80"&gt;
                     &lt;p&gt; {{item.Title}}&lt;/p&gt;
                  &lt;/div&gt;
                  &lt;div class="col col-20"&gt;
                     &lt;b&gt; {{item.Status}}&lt;/b&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
              &lt;div class="row"&gt;
                 &lt;div class="col col-70"&gt;
                      {{item.CreatedDate}}
                  &lt;/div&gt;
                  &lt;div class="col col-30"&gt;
                      &lt;i class="icon ion-chevron-right icon-accessory"&gt;&lt;/i&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
  
          &lt;/ion-item&gt;
  </code></pre>
  
  <p>I am getting Title,Created Date and Status from webservices in JSON format.
  Created Date is coming as String format MM/DD/YYYY HH:MM:SS e.g 6/2/1991 2:33:43 PM or 12/23/2015 11:55:12 AM.
  but its not ordering properly.
  How to convert string into date and then order it.</p>