Swapping tabs

Swapping tabs

I am very new to JQuery and appreciate some help. 

I have a list of tabs, lets say Tab1 Tab2 Tab3, and each tab has many content (i.e. text fields, check boxes, etc...). Is there any way I can swap the position of Tab2 and Tab3, so that the user would see Tab1 Tab3 Tab2 ? All the contents of Tab2 and Tab3 should stay with it. 

Thank you for help!