Oracle Message PLS-00625 - PARTITION/CLUSTER/ORDER-BY clause can only be used with IN parameters

ERRORPARTITION/CLUSTER/ORDER-BY clause can only be used with IN parameters
CAUSEA PARTITION/CLUSTER/ORDER-BY clause was used with an OUT or IN OUT ref-cursor parameter.
ACTIONChange the parameter mode to IN or use some other parameter with the PARTITION/CLUSTER/ORDER-BY clause.