Angular 6 Sort Array of object by Date : <p>I try to sort the array object by date for my Angular 6 application. The data has string format. I wonder if there is an existing module to perform sort in Angular or we have to build sort function it in Typescript.</p>

<p>Angular Template</p>

<pre><code>&lt;app-item *ngFor="let item of someArray"&gt;&lt;/app-item&gt;
</code></pre>

<p>The Array</p>

<pre><code>[
  {
    CREATE_TS: "2018-08-15 17:17:30.0",
    Key1: "Val1",
    Key2: "Val2",
  },
  {
    CREATE_TS: "2018-08-15 17:25:30.0",
    Key1: "Val1",
    Key2: "Val2",
  },
  {
    CREATE_TS: "2018-08-15 17:28:30.0",
    Key1: "Val1",
    Key2: "Val2",
  }
]
</code></pre>
