title: How do I render a Dundas bar chart from most to least?
body: <p>How does one order the bar chart series to render from most to least? Ordering the data before binding does not seem to help.</p>
  
  <p><img src="https://i.stack.imgur.com/rCKab.png" alt="bar chart that that is rendering least to most"></p>
  
  <p>My code:</p>
  
  <pre><code>chart.Series.Add("port");
  chart.Series["port"].Type = SeriesChartType.Bar;
  chart.Series["port"]["PointWidth"] = "0.6";
  chart.Series["port"]["BarLabelStyle"] = "Center";
  chart.Series["port"].ShowLabelAsValue = true;
  chart.Series["port"].Points.DataBind(myData, "Key", "Value", "Label=Value{p2}");
  chart.Series["port"].BorderStyle = ChartDashStyle.Solid;
  chart.Series["port"].BorderColor = Color.White;
  chart.Series["port"].BorderWidth = 1;
  chart.Series["port"].ShowLabelAsValue = true;
  chart.Series["port"].Font = myfont;
  
  chart.ChartAreas.Add("Default");
  chart.ChartAreas["Default"].BackColor = Color.Transparent;
  foreach (var axis in chart.ChartAreas["Default"].Axes)
  {
      axis.LabelStyle.Font = myfont;
      axis.MajorGrid.Enabled = false;
  }
  chart.ChartAreas["Default"].AxisX.Interval = 1;
  chart.ChartAreas["Default"].AxisY.LabelStyle.Format = "p0";
  </code></pre>