<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def children(self):
 """ The list of child messages and actions sorted by task level, excluding the start and end messages. """

        return pvector(
            sorted(self._children.values(), key=lambda m: m.task_level))