title: Descending order date using moment.js in jquery?
body: <p>I have array of dates from my json response.I am using moment.js to format my date its working fine.But,Now what i want is using same moment.js to order date in desc order.
  This is my line of code to format date using moment:</p>
  
  <pre><code>tableContent += "&lt;li&gt;"+moment(response[itr][segment]).format('MM-DD-YYYY')+"&lt;/li&gt;";
  </code></pre>