How do you find the top-selling product in each category?

Technical