Is it possible to switch 2 transform animation curves of the same camera?

I imported a camera animation from blender and the x and y location keyframes need to be switched to be correct. Is there any way to switch the 2 keyframe curves?

Got it. Select all keyframes of one curve, right click> store curve, and select all keyframes of the other and rightclick>copy . Now you can paste the 1st curve over the second and apply the second curve on the first.