title: How to sort bar in nvd3?
body: <p>I am using nvd3 multibar chart in my application. Its working fine. Here i need to sort the bars based on the values(I mean in ascending/descend manner). Is there any inbuilt function available for sorting in nvd3. Or how can I achieve the sorting thing. </p>
  
  <pre><code>nv.addGraph(function() {
  
    var chart;
    chart = nv.models.multiBarChart()
      .margin({bottom: 100})
      .transitionDuration(300);
  
    chart.options( {delay: 1200});
  
    chart.multibar
      .hideable(false);
  
    chart.xAxis
        //.axisLabel("Modules")
        .rotateLabels(45);
  
    chart.yAxis
     .tickFormat(function(d) { return d + "%"; });
  
  
    d3.select('#' + "barChart" + ' svg')
        .datum(data)
       .call(chart);
  
    nv.utils.windowResize(chart.update);
  
    chart.dispatch.on('stateChange', function(e) { nv.log('New State:', JSON.stringify(e)); });
  
    return chart;
  });
  </code></pre>