Implement compareTo for Teams