You’ll find a lot of information about nifti orientation issues in the forum.
This thread might help: