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

ERRORinvalid column name string in SORT_LIST, should be ENQ_TIME or PRIORITY
CAUSEInvalid column name was specified in the SORT_LIST.
ACTIONThe valid column names are ENQ_TIME and PRIORITY.