[hibernate-issues] [JIRA] (HHH-10376) Add columns in ORDER BY clause to select list if not already present