code: def anchor(parser, token):
      
      bits = [b.strip('"\'') for b in token.split_contents()]
      if len(bits) < 2:
          raise TemplateSyntaxError, "anchor tag takes at least 1 argument"
      try:
          title = bits[2]
      except IndexError:
          title = bits[1].capitalize()
      return SortAnchorNode(bits[1].strip(), title.strip())
docs: Parses a tag that's supposed to be in this format: {% anchor field title %}