If I have a sorted set, how can I “join” it with tree structure and in particular tchildren? Thanks