Oracle Solution for Error ora-24004

Solution for Oracle Error ORA-24004

ORA-24004: invalid column name string in SORT_LIST, should be ENQ_TIME or PRIORITY

What triggered the Error:

valid column name was specified in the SORT_LIST.

What should we do to fix it:

e valid column names are ENQ_TIME and PRIORITY.