The ranking is built after data collected about the team members. The information gathered generates a score that will base the leaderboard.
There is a ranking for all teams together and one for each team you have created for your process. They are updated in real-time.