fun/compare-with Compare using an iterator. data.sort(compareWith(d3.ascending, _.property('value')))