Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preserve row order of input file? #23

Open
bgarchow opened this issue Aug 23, 2017 · 3 comments
Open

Preserve row order of input file? #23

bgarchow opened this issue Aug 23, 2017 · 3 comments
Labels

Comments

@bgarchow
Copy link

Thanks for csvtotable! It works great except for one (minor) issue. The rows of my input files are sorted in a specific order but csvtotable appears to automatically (re)sort the data on the first column when generating the html table. Not a huge deal, but it would be nice to have the option to preserve the row order of the input file. Again, thanks for csvtotable!

@vividvilla vividvilla added the bug label Aug 25, 2017
@vividvilla
Copy link
Owner

It wasn't intentional, will fix this behavior in upcoming release.

@youyanggu
Copy link
Contributor

Sorry I'm 3 years late - I was just wondering if you're able to help guide me to which section of the code I should update so that the row order is preserved. I'd be happy to do a fork and pull request. Thanks!

@youyanggu
Copy link
Contributor

I found the issue and made a patch. Pull request #33.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants