title: Bootstrap Table: sort by date field
body: <p>I am using this <a href="https://bootstrap-table.com/" rel="noreferrer">Bootstrap table plugin</a>. But sorting by date is not working properly.</p>
  <p>Here is the code:</p>
  <pre><code>&lt;table class=&quot; table-striped&quot; id=&quot;table&quot; data-toggle=&quot;table&quot;
      data-search=&quot;true&quot;
      data-filter-control=&quot;true&quot;
      data-click-to-select=&quot;true&quot;
      data-escape=&quot;false&quot;&gt;
  
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th data-field=&quot;expiry_date&quot; data-sortable=&quot;true&quot; scope=&quot;col&quot;&gt;&lt;?= 'expiry date' ?&gt;&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
  </code></pre>
  <p>Date is in this format: <code>d/m/y</code> (17/7/14)</p>
  <p>How I can fix it in order to sort dates properly?</p>