qsort and reverse string in c