a ranking system for competitive leagues