Group rows by each field in turn. The groups are a list in the order their first row came, so a sort before grouping orders the groups too (and the rows within each one).
The rows as they were when there's no field, otherwise the groups.
Group rows by each field in turn. The groups are a list in the order their first row came, so a sort before grouping orders the groups too (and the rows within each one).