code: def list_team_codes():
      
      # Sort teams by league, then alphabetical by code
      cleanlist = sorted(TEAM_DATA, key=lambda k: (k["league"]["name"], k["code"]))
      # Get league names
      leaguenames = sorted(list(set([team["league"]["name"] for team in cleanlist])))
      for league in leaguenames:
          teams = [team for team in cleanlist if team["league"]["name"] == league]
          click.secho(league, fg="green", bold=True)
          for team in teams:
              if team["code"] != "null":
                  click.secho(u"{0}: {1}".format(team["code"], team["name"]), fg="yellow")
          click.secho("")
docs: List team names in alphabetical order of team ID, per league.