Get ordered funnels working with GROUP BY