Add query for top and bottom 25 brands