Can you make it possible to group companies in your portfolio?

Avatar

For example, if i want to group all my defence stocks together?