title: Use JavaScript to order some dates
body: <p>I have a WordPress plugin "Ultimate WPQSF" which is outputting a drop down list on the front end of my site but as far as I can tell I can not choose to order this list by date.</p>
  
  <p>On the front end it is outputting the following drop down list</p>
  
  <pre><code>&lt;select id="tdp-0" name="taxo[0][term]"&gt;
      &lt;option value="august-2013"&gt;August 2013&lt;/option&gt;
      &lt;option value="august-2014"&gt;August 2014&lt;/option&gt;
      &lt;option value="december-2013"&gt;December 2013&lt;/option&gt;
      &lt;option value="march_2014"&gt;March 2014&lt;/option&gt;
      &lt;option value="may-2014"&gt;May 2014&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>What I want to do with this is pull the data from these options and order is by date then input it back into the select in the new order which would be the latest date first (August 2014). The desired outcome after processing it would be as follows</p>
  
  <pre><code>&lt;select id="tdp-0" name="taxo[0][term]"&gt;
      &lt;option value="august-2014"&gt;August 2014&lt;/option&gt;
      &lt;option value="may-2014"&gt;May 2014&lt;/option&gt;
      &lt;option value="march_2014"&gt;March 2014&lt;/option&gt;
      &lt;option value="december-2013"&gt;December 2013&lt;/option&gt;
      &lt;option value="august-2013"&gt;August 2013&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>I know a bit of jQuery and JavaScript but not enough to do something this advanced. Any advice would be appreciated.</p>