This simple "re-linking" of related data back into a single collection is something that traditional computer languages are not designed for.
What technique is used to collect into one place?
re-linking