Salvation then Baptism 01
The Bible teaches that people saved by God are then baptized in water as a testimony to that salvation. The order is not baptism then salvation, but salvation then baptism.
You can track the order by tracking the order of God's commands. First, God commands sinners to turn from sin and believe in Jesus for salvation. Next, God commands believers, those who obey the first command, to be baptized in water. First, be saved. Then, be baptized. The order is simple. It is not baptism then salvation, but salvation then baptism.
Go therefore and make disciples of all nations, baptizing them in the name of the Father and of the Son and of the Holy Spirit,  teaching them to observe all that I have commanded you. And behold, I am with you always, to the end of the age.