Swapping Order Of Jquery UI And Bootstrap

I am using the jquery UI dialog and am experiencing the common issue where the close button does not render correctly. There are lots of solutions to this, but the one that seems most straight forward is to make sure that bootstrap loads before jquery ui. However nobody has stated how to accomplish this. I poked around and tried to figure it out but to no avail. Are there easy steps someone can outline for me?