------
## 最终结论
```python
from collections import defaultdict

def rank_teams(votes):
    # Initialize a dictionary to count the ranks
    rank_count = defaultdict(lambda: [0] * len(votes[0]))

    # Count the votes for each position
    for vote in votes:
        for position, team in enumerate(vote):
            rank_count[team][position] += 1

    # Sort teams based on the ranking criteria
    sorted_teams = sorted(rank_count.keys(), key=lambda team: (rank_count[team], -ord(team)), reverse=True)

    # Return the sorted teams as a single string
    return ''.join(sorted_teams)
```