ordering the badges by image name