title: How to sort c3.js bar chart
body: <p>I was looking forward to sorting the bars in the bar chart (not stacked bar) using c3.js. But could not find any suitable way, there is an option mentioned below but that's not applicable for the bar chart.</p>
  
  <pre><code>data: {
      order: 'asc'
  }
  </code></pre>
  
  <p>In my case, all data are coming dynamically and rendering through c3.js to make a bar chart.I was looking for a sort like <a href="https://bl.ocks.org/mbostock/raw/3885705/" rel="nofollow noreferrer">https://bl.ocks.org/mbostock/raw/3885705/</a></p>