[DOC] Escape constant names in Iterator / Sort order argument

Closes: #668