Evolution of a constitutional dynamic library driven by self-organisation of a helically folded molecular strand.