added alphabet sorting to catch duplicated teams