Fix docs inconsistent (cmp -> ord).

The parameter name is `ord`, but mentioned in docs with `cmp`.