Invalid ORDER BY specification

Error constant SQLE_INVALID_ORDER
ODBC 2 state 37000
ODBC 3 state 42000
Severity 15
SQLCODE -152
SQLSTATE 53005
Sybase error code 108
 Probable cause