Skip to content

Commit

Permalink
Merge pull request COVID19Tracking#1496 from COVID19Tracking/kevee/al…
Browse files Browse the repository at this point in the history
…l-states-csv-sort

fix: Sort all states CSV by date, state name
  • Loading branch information
kevee authored Oct 7, 2020
2 parents 04647f2 + 581b561 commit 72c1eb8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/utilities/csv.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ module.exports = (graphql, reporter) => {
}
}
}
allCovidStateDaily(sort: { fields: date, order: DESC }) {
allCovidStateDaily(
sort: { fields: [date, state], order: [DESC, ASC] }
) {
nodes {
date
state
Expand Down

0 comments on commit 72c1eb8

Please sign in to comment.