Ordering in csv and default optional parameter added

Thanks for the module. I used it in my project. However I needed some functionalities, like adding a default constant for a column and ordering in csv.

This is my first pull request. I hop it would be helpful to others as well