Sort categories ascending on id. Needed for Palga app to correctly display age-groups

And added debug-info for async email sender