Sort C++ enums and classes by name