The team score is based on the levels and stages that players on a team have completed. Only the Top-100 Teams with the highest scores in Toon Blast are shown in the leaderboards.
If your team score is tied with another team, the team that reached the score first will have the higher rank.