Seaquel
SQL Server error code

SQL Server error 5327

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

The column '%.*ls' does not have a valid data type for the ORDER hint specified for data source '%.*ls'. The text, ntext, image, xml, varchar(max), nvarchar(max) and varbinary(max) data types cannot be used in the ORDER hint for a BULK rowset or CLR TVF.
Msg5327
Severity15
Group5000–5999

Source: Database Engine events and errors