Sweep problem along with 3D parth

When i tried to sweep a profile(little complex) along a 3d sketch the sweep is not in a way that i expect. Please refer the attached vedio,

Please letm me know how can i make the required sweep?

SolidworksParts And Features