<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def extend(self, content, zorder):
 """ Extends with a list and a z-order """

        if zorder not in self._content:
            self._content[zorder] = []
        self._content[zorder].extend(content)