ORDER BY now includes facetEntityCast if available