title: How to sort dates in Angular 7 Material Data table?
body: <p>I created a datatable using ng generate @angular/material:table demoTable.</p>
  
  <p>I have to sort by the date column. In the previous Angular versions I was able to use <code>sortingDataAccessor</code> for this purpose but for some reasons, I am not able to use that here.</p>
  
  <p>Has anyone tried that using Angular 7 (more specifically after using the <code>ng generate</code> command to create the DataTable) ? </p>