@Override
    public boolean equals(final Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || this.getClass() != o.getClass()) {
            return false;
        }
        final CommandNode<?> node = (CommandNode<?>) o;
        return Objects.equals(this.component(), node.component());
    }
Sorts the child nodes using their {@link #component() components}.
cloud-core/src/main/java/org/incendo/cloud/internal/CommandNode.java