I have an assignment to have user enter 10 strings and then create menu to
-print original strings
-print string in ASCII order
-print strings in order of increasing length
-print strings in order of length of first word

This is how far I have gotten, I cannot figure out the last three. Any help would be appreciated.

Thanks,
#include <stdio.h>
int main()
{
char message1[80], message2[80], message3[80], message4[80 message5[80];
char message6[80], message7[80], message8[80], message9[80 message10[80];
int opselect;
printf("Enter a string:\n");
gets(message1);
printf("Enter another string:\n");
gets(message2);
printf("Enter another string:\n");
gets(message3);
printf("Enter another string:\n");
gets(message4);
printf("Enter another string:\n");
gets(message5);
printf("Enter another string:\n");
gets(message6);
printf("Enter another string:\n");
gets(message7);
printf("Enter another string:\n");
gets(message8);
printf("Enter another string:\n");
gets(message9);
printf("Enter another string:\n");
gets(message10);

printf("Enter a select code:");
printf("\n 1 To display all strings input");
printf("\n 2 To display the strings in ASCII order");
printf("\n 3 To display the strings in order of increasing length");
printf)"\n 4 To display the strings in order of the length of the first word in the string");
printf("\n 5 Quit");
scanf("%d", &opselect);
switch (opselect)
{
case 1:
printf("your messages are :\n");
puts(message1);
puts(message2);
puts(message3);
puts(message4);
puts(message5);
puts(message6);
puts(message7);
puts(message8);
puts(message9);
puts(message10);
break;
case 2:

return 0;

}