A sort expression for the {0} '{1}' includes an aggregate function. Aggregate functions cannot be used in data row sort expressions. ...