web: sort bucket actions before counting quintiles