List<Team> teams = new ArrayList<>();
teams.add(new Team(5));
teams.add(new Team(10));
teams.add(new Team(2));
Collections.sort(teams, (a, b) -> -Integer.compare(a.points, b.points));
System.out.println(teams); // wypisze drużyny w malejącej kolejności punktów