Project: datamanagement
Issue DM-2859: Return error for "SELECT a FROM T ORDER BY b" for has-chunks query
ORDER BY field has to be in result table => it has to be in select list. Return clear error message to user if not.
Story points: 4