sort now handle multiple fields at once, was posing a problem for grouping + sort