Find the oxidation states of S atoms in the following compounds and arrange them in decreasing order of maximum O.S. shown by S in them:
H2S acts only as a reducing agent while SO2 can act both as a reducing and oxidizing agent because