Sensor 1 refers to the oxygen sensor closest to the engine. Bank 2 refers to the side that the number 2 cylinder is on. Below is a firing order diagram so you know which side is Bank 2 of your engine..
You can always test the sensor before replacing it. To learn how to test an oxygen sensor, follow the link below..