Add sorting to the league model