question:Ten arrays of string of characters representing ten surnames are to be inputed from the keyboard. the strings are of diffrent length but none is longer than 20 characters. It is required to arrange these surnames aphabetically, and to determine the length of each surname.implement in c and print out the alphabetically arranged surnames with their lengths...........

okay i understand d fact dat i'll declare 10 diffrent arrays of length 20...my problem is arranging the surnames in alphabetical order...please some1 help me out with a suitable sorting algorithm and its implementation