STRING SORT problem searching nd sorting

Whats was wrong in my code i am getting (TESTCASE # 2 : wrong-answer (Time: 0 s))

share your code please by saving it on the online ide of coding blocks

hello this question please

there was a slight mistake in your compare function