group_by order results. closes #242