C program-help in array alphabetical sorting(VIBGYOR order)
I am having trouble coding for the following question. Hope someone can atleast help with the logic.

Thanks.

Arrange the given 'n' names in VIBGYOR Alphabetical order as shown below.
E.g. 
Input: bindu, vishnu, govind, othello, shyam, yadu, raghu, mary, indu, veena
Output: veena, vishnu, indu, bindu, govind, yadu, othello, raghu, mary, shyam

C program-help in array alphabetical sorting(VIBGYOR order)
===

I am having trouble coding for the following question. Hope someone can atleast help with the logic.

Thanks.

Arrange the given 'n' names in VIBGYOR Alphabetical order as shown below.
E.g. 
Input: bindu, vishnu, govind, othello, shyam, yadu, raghu, mary, indu, veena
Output: veena, vishnu, indu, bindu, govind, yadu, othello, raghu, mary, shyam
