Fix docs inconsistent (cmp -> ord).

The parameter name is 'ord', but mentioned in docs with 'cmp'.
Merge pull request #2709 from yllan/fix-docs

Fix docs inconsistent (cmp -> ord).