this line in your ini file sets the axis to joint assignment starting at joint 0COORDINATES = XYZA
Changing the order here will reassign axes to different joints
Unfortunately pncconf labels stuff in your hal file by axis letters which I find really annoying.
I have been known to rename labels in the hal file to use joint numbers so it can reassign joint order by changing the ini file line I mentioned