Test case 2 not working

Please help with this problem. Where am I going wrong?

@siddhu28.ss sort the string as
sort(s, s+ strlen(s));
as sort(a,a+x) sorts from a[0] to a[x-1].