Composite ORDER BY not allowed with RANGE

Error constant SQLE_ILLEGAL_COMPOSITE_ORDERBY
ODBC 2 state ERROR
ODBC 3 state ERROR
Severity 16
SQLCODE -966
SQLSTATE 42WAA
Sybase error code 13524
 Probable cause