PHOENIX-850 Optimize ORDER BY and GROUP BY for tenant specific indexes (JamesTaylor)