Failed test case of array bubble sort

plz correct my code , bt i thnk this code is correct ,
bt it failed two test cases
can u plz explain why ?