Q&A about the site for administrators and users of the CiviCRM Constituent Relationship Management software
SELECT Name, COUNT(*) AS TotalAwarded from Badges GROUP BY Name ORDER BY TotalAwarded