I recently installed Ubuntu on my Windows 11 machine so I can dual boot. After playing around with Ubuntu for a while, I decided I wanted Windows 11 removed entirely, so I deleted all Windows partitions on my Ubuntu. Now I have 352 GB of unallocated space. I would like to merge the unallocated space with my Ubuntu partition, however I cannot do that since the unallocated partition comes before the Ubuntu partition.
GParted:
