>>191
バブルソートでよければ

void sort_ch( char *Input, int length )
{
int No;

for(No=0; No < length-1; No++ ){
if( Input[No] > Input[No+1] ){
swap( &Input[No], &Input[No+1] );
}
}

if(length > 2){
sort_ch( Input, length-1 );
}
}

void swap( char *i, char *j )
{
char Buff;

Buff = *i;
*i = *j;
*j = Buff;
}