ORDER BY not allowed in window '%1'

Error constant SQLE_ORDERBY_NOT_ALLOWED
ODBC 2 state ERROR
ODBC 3 state ERROR
Parameter 1 The name of the window.
Severity 16
SQLCODE -949
SQLSTATE 42WA5
Sybase error code 13539
 Probable cause