Sort Game failing test cases

MY CODE:

why my code is failing test cases
plz…help where my code is going wrong??