Order groups by name

Should fix #200

Care to review @berlintam ? :)