title: D3 sort() with CSV data
body: <p>I am trying all kinds of ways to make <code>.sort()</code> work on my csv dataset. No luck.</p>
  
  <p>I'd just like to sort my data by a "value" column.</p>
  
  <p>This is the function I'm running inside my <code>d3.csv</code> api call and before I select the dom and append my divs:</p>
  
  <pre><code>dataset = dataset.sort(function (a,b) {return d3.ascending(a.value, b.value); });
  </code></pre>
  
  <p>Before I get to the <code>.sort</code>, I clean the data:</p>
  
  <pre><code>dataset.forEach(function(d) {
              d.funded_month = parseDate(d.funded_month);
              d.value = +d.value;
          });
      };
  </code></pre>
  
  <p>Everything seems in order. When I <code>console.log(d3.ascending(a.value, b.value))</code>, I get the right outputs:</p>
  
  <pre><code>-1 d32.html:138
  1 d32.html:138
  -1 d32.html:138
  1 d32.html:138
  etc..
  </code></pre>
  
  <p>Yet the bars data doesn't sort.</p>