data type check: GROUP BY and ORDER BY with positional arguments