code: def _get_sorter(subpath='', **defaults):
      
      @restrict_access(scope='read')
      def _sorted(self, *args, **kwargs):
          """Return a get_content generator for some RedditContentObject type.
  
          The additional parameters are passed directly into
          :meth:`.get_content`. Note: the `url` parameter cannot be altered.
  
          """
          if not kwargs.get('params'):
              kwargs['params'] = {}
          for key, value in six.iteritems(defaults):
              kwargs['params'].setdefault(key, value)
          url = urljoin(self._url, subpath)  # pylint: disable=W0212
          return self.reddit_session.get_content(url, *args, **kwargs)
      return _sorted
docs: Return function to generate specific subreddit Submission listings.