Oracle Solution for Error ora-30487

Solution for Oracle Error ORA-30487

ORA-30487: ORDER BY not allowed here

What triggered the Error:

DISTINCT functions and RATIO_TO_REPORT cannot have an ORDER BY

What should we do to fix it:

None