code: def _build_field_choices(self, fields):
          
          return tuple(sorted(
              [(fquery, capfirst(fname)) for fquery, fname in fields.items()],
              key=lambda f: f[1].lower())
          ) + self.FIELD_CHOICES
docs: Iterate over passed model fields tuple and update initial choices.