title: How to sort Date/Time column in angular 4 material sort?
body: <p>I'm using angular material table and using matSort for sorting. But it's not sorting the dates/time column. It takes the datetime column values as strings. </p>
  
  <p>How to sort date/time column in angular 4 material ?</p>
  
  <p>My json will look like this </p>
  
  <pre><code> {
          "name": "Rule Test 5",
          "time": "2017-11-17T08:34:32",
          "version": 1,
          "status": "SAVED"
      }, {
          "name": "Availability Adjustment",
          "time": "2017-11-17T10:13:27",
          "version": 1,
          "status": "SAVED"
      }, {
          "name": "Class suppression",
          "time": "2017-11-17T11:18:44",
          "version": 1,
          "status": "SAVED"
      }
  </code></pre>
  
  <p>my table look like this </p>
  
  <pre><code>-------------------------------
  name | version | status | date |
  -------------------------------
  ...
  ..
  ..
  --------------------------------
  </code></pre>