I want to move /dev/sda/1, which is before /dev/sda/5. As I want to resize my /dev/sda/5 partition, hence I want to move /dev/sda/1.
You can resize sdaX by right clicking and choosing "Resize/Move" from the dropdown menu.
You mean /dev/sda/5
I said sdaX to denote either.