nodes: 0, module; 1, function_definition; 2, function_name:todos; 3, parameters; 4, block; 5, identifier:self; 6, expression_statement; 7, expression_statement; 8, return_statement; 9, comment:""" Returns a sorted and filtered list of todos in this view. """; 10, assignment; 11, call; 12, identifier:result; 13, call; 14, attribute; 15, argument_list; 16, attribute; 17, argument_list; 18, identifier:self; 19, identifier:_apply_filters; 20, identifier:result; 21, attribute; 22, identifier:sort; 23, call; 24, identifier:self; 25, identifier:_sorter; 26, attribute; 27, argument_list; 28, attribute; 29, identifier:todos; 30, identifier:self; 31, identifier:todolist
code: def todos(self):
          """ Returns a sorted and filtered list of todos in this view. """
          result = self._sorter.sort(self.todolist.todos())
          return self._apply_filters(result)