If your vehicle sinks in water and assuming that you are the driver, you should kick out the driver's window when the pressure equalizes.
You should't waste your time trying to reach the rear window and you shouldn't break the front window. Therefore, just break the one nearest to you which is the driver's window in this case.