All of the changes should be in the config.yaml file you uploaded.
Assigning motors to axis and homing directions etc are all near the top of the config.
Without putting too much thought into it, I would probably just swap x and y there and see what happens lol.
Then check homing directions, etc and see how it goes