String (@NotNull List<? extends PropertyData> lines) { StringBuilder sb = new StringBuilder(); lines.sort(Comparator.comparing(PropertyData::getName)); for (PropertyData line : lines) { addPropertyPresentation(line, sb); } return sb.toString(); }