Adding grouping functionality to stocks screen