def get_rows(self, sort=False):
ret = []<EOL>for _, rows in sorted(self._rows.items()) if sort else self._rows.items():<EOL><INDENT>self._rows_int2date(rows)<EOL>ret.extend(rows)<EOL><DEDENT>return ret<EOL>
Returns the rows of this Type2Helper.

:param bool sort: If True the rows are sorted by the pseudo key.