Seaquel
SQL Server error code

SQL Server error 8711

SQL Server raises error 8711 at severity 16, which marks a problem with the query or data that you can correct.

Multiple ordered aggregate functions in the same scope have mutually incompatible orderings.
Msg8711
Severity16
Group8000–8999

Source: Database Engine events and errors