I prefer to enumerate via a shortlex variant, primary key being number of leaves and secondary being the index of the particular expansion.
(For context, I'm completely new to this topic.)
(generating random trees the naive way tends to produce the occasional huge tree amidst huge numbers of tiny trees)
Concrete examples: Docker containers, PDF parts, POSIX filesystems, Scheme sources, SVGs, x86 objects, etc.