how to sort strings in alphabetical order in C