Oracle Error PLS-01704: The expressions in a sort clause must be column specs or unsigned integers, with optional ASC or DESC

Oracle Error Message

PLS-01704: The expressions in a sort clause must be column specs or unsigned integers, with optional ASC or DESC

Reason for the Error

The expressions in a sort clause may only be column specifications or unsigned integers, followed by optional ASC or DESC.

Solution

None