It works very well. Thank you very much for your help.
Next steps are :
1) to be able to manage comments in the csv file that can be split on several lines. I do it in a way I don't like using sed.
2) to be able to sort alphabetically 2 columns
I'll try first on my own before I ask your help again :)