Clearer error message for when aggregations are used in ORDER BY and not in RETURN

Solves #401