void (@NotNull Collection<? extends GenericChangesBrowserNode> nodes, @Nullable ChangesBrowserNode.Tag tag) { ChangesBrowserNode<?> parentNode = createTagNode(tag); for (GenericChangesBrowserNode node : sorted(nodes, comparing(data -> data.getFilePath(), PATH_COMPARATOR))) { insertChangeNode(node.getFilePath(), parentNode, node); } }