If I have a table and data like this:
ID | Name | Group 1 Apple A 2 Boy A 3 Cat B 4 Dog C 5 Elep C
SELECT * FROM table group by `Group` ORDER BY COUNT(Group)