Change order of annotations to be the same as the generator

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | doctrine
| Fixed tickets |