The select list item identified by the order by number '%d' contains a variable as part of the expression that identifies a column position. Variables are only allowed when ordering by an expression referencing a column name.