Order the classes alphabetically per related group