pat310 / quick-pivot

Quickly format data to create a pivot table
https://www.npmjs.com/package/quick-pivot
MIT License
63 stars 21 forks source link

Added column sort. #76

Closed TomMuijsers closed 5 years ago

TomMuijsers commented 5 years ago

The order in which the columns appear seams to depend on the ordering of the raw data set. To control the order of the columns I added a parameter to pass a sorting function for the columns.

coveralls commented 5 years ago

Coverage Status

Coverage increased (+0.01%) to 98.611% when pulling 8b4bb2c21ace908ece51fde123abd329107ced9d on TomMuijsers:feature/column-sort into eb9ad8f68f5448dd88fdd2d6f18766ca9f3e950c on pat310:master.

pat310 commented 5 years ago

@TomMuijsers Looks good, just one comment!

TomMuijsers commented 5 years ago

@pat310 Could you please review the pull request again?

pat310 commented 5 years ago

Thanks @TomMuijsers !