code: def _sorted_actions(self):
          for a in filter(lambda _: not _.last and \
                          not self.is_action(_, 'parsers'), self._actions):
              yield a
          for a in filter(lambda _: _.last and \
                          not self.is_action(_, 'parsers'), self._actions):
              yield a
          for a in filter(lambda _: self.is_action(_, 'parsers'),
                          self._actions):
              yield a