Permute parameters docstring to match function definition

When reading the doc, it might be confusing which one of the two paramaters (`data` and `fields`) is passed first.

As i never used Sphinx, i don't know if the doc will be changed only based on the change in the code or if i had to run a sort of «update» command.