<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def listModules(self):
 """Return an alphabetical list of all modules."""

        modules = list(self.modules.items())
        modules.sort()
        return [module for name, module in modules]