return games and teams in proper order