1. Back up your data.
2. Use a live USB system or similar and then from it:
3. Move the swap to the end of sda2.
4. Shrink sda2.
5. Enlarge sda1.
In fact there's no point in keeping the logical sda2 just for swap, so you might prefer to remove the swap and then sda2, and finally just build a new swap partition at the end and follow on with point 5.