Fixed major mistake in getTeamsSortedByHighScore. I forgot to define the comparison function