title: How to sort a Month Array in React Native?
body: <p>I am currently working in a sales application that shows a list of appointments for a month using <code>SectionList</code>. The datasource to the <code>SectionList</code> would look something similar to,</p>
  
  <p><code>var sectionList = [{
  key: month
  value: appointmentData
  }]</code>;</p>
  
  <p>Now, I want to sort this Month array in the order of their real occurrence.</p>
  
  <p>Current Output:</p>
  
  <pre><code>[Jan, Apr, Feb, Mar, Sep, May, Dec, July, Nov, June, Oct, Aug]
  </code></pre>
  
  <p>Expected Output: </p>
  
  <pre><code>[Jan, Feb, Mar, Apr, May, June, July, Aug, Sep, Oct, Nov, Dec];
  </code></pre>
  
  <p>Ideas appreciated.</p>