Ensure ordering of interfaces for trait inheritance