When using the reflection API in Java, you have no guaranteed order in which properties are returned. I don't know if Jandex offers any guarantee either. So we only care if the underlying ORM mapping requires us to have a specific order.