Sort column name out of range (1 - number)

The SQL SELECT statement's ORDER BY clause refers to a column number that is out of range.

Resolution:

Correct the statement.