def _write_iterate(self, values):
        """Generates the lines for a single pass through the group."""
        result = []
        for key in self.order:
            result.append(self.lines[key].write(values))

        if len(result) > 1:
            return result
        else:
            return result[0]