Grouping stocks (on invest)

How come you think (thought) this? Is there a related thread?
Edit: Found it: Portfolio list ordering