Adding ORDER BY when querying a VIEW made up of a VIEW using 3+ UNION ALL statements using GROUP BY in the source VIEWS causes a NPE.