There’s no way to do this programmatically in the requester.
However, this can be achieved easily with the help of collection runner.
You can make the following collection with a folder in it along with the sequence of requests
Then you can run the folder using the collection runner and it’ll always run the folder in that sequence
You can make use of environment / global variables if you need to store data such as token etc.
Note: Remember that if you want the changes to be reflected in the environment and globals (globally) made after the collection run then you need to checkmark the ‘Persist Variables’ option before running the run, otherwise all modifications made to environment and global during the run are in-memory and will be lost after the run completes.
I hope this helps you.