How can I customize the editor layout of "inlined" classes?

I tried to customize the editor layout of a class e.g. UClassB which inherits from UClassA, which inherits from UObject. The default behavior is to display the UPROPERTY members of UClassB at the top and the ones from UClassA at the bottom. However, I would like to display the members of UClassA at the top. Usually I could solve this using categories, customozation with IDetailCustomization or similar.

In my case the UClassB appears as part of another class using the UPROPERTY “Instanced” flag, which results in an “inlined” representation of the UClassB. It seems that categories, and other customization mechanism don’t work on “inlined” class views. Is there a way to change the order of properties of “inlined” classes?