ASSEMBLY COMPONENT GROUPING

Is there a way to automatically group all instances of thesame component together?? any ideas?SolidworksAssemblies