Merge pull request #2349 from mgrabovsky/doc-fix

Correct order of parameters in documentation