title: React Native Sort array by date
body: <p>I am trying to sort results from a prop by date &amp; time. Not sure how to do this.</p>
  <pre><code>props.data.map((r) =&gt; {
        console.log(r);
      });
  </code></pre>
  <p>array example</p>
  <pre><code>{
      &quot;date&quot;: &quot;2021-07-17&quot;,
      &quot;time&quot;: &quot;3:00&quot;,
      &quot;title&quot;: &quot;First Title&quot;,
      &quot;description&quot;: &quot;Testing&quot;
  }, {
      &quot;date&quot;: &quot;2021-07-17&quot;,
      &quot;time&quot;: &quot;3:00&quot;,
      &quot;title&quot;: &quot;Second Title&quot;,
      &quot;description&quot;: &quot;Testing&quot;
  }
  </code></pre>