def __iter__(self):
for module in sorted(self.__previews.keys()):<EOL><INDENT>previews = ModulePreviews(module, sorted(self.__previews[module].values(), key=str))<EOL>yield previews<EOL><DEDENT>
Returns an iterator of :class:`ModulePreviews` tuples, sorted by module nae.