An error has occurred.

Invalid column name for the group attribute. The value specified for the group attribute sortnumber does not specify a column name of the query.
The error occurred on line 23.