Message Oracle PLS-00528 - The parameters to an ORDER function must have IN mode

ERRORThe parameters to an ORDER function must have IN mode
CAUSEYou declared parameter to an ORDER function to have OUT or IN OUT mode.
ACTIONCorrect the parameter to use IN mode only.