An expression that is not simply a column name or an unsigned integer constant.
The query to which ordering is applied
must be a subselect to use this form of sort-key.
The sort-key-expression cannot include
a correlated scalar fullselect (SQLSTATE 42703)
a function with an external action (SQLSTATE 42845).