Queue
Your task is to create a program which receives a list of guest and prints out the order when they are entering based on how important that person is. The amount of V (Very) on their name determines how important they are, for example:
If there is a tie then the priority is determined alphabetically. For example, Aaron is more important than Boss.
To do this, you need to provide a custom functor (a struct/class which has the () operator overloaded) to compare the names. The skeleton code is provided for you.
Victor
Bernie
Arthur
Vivian
Charles
Navy
Vivian
Navy
Victor
Arthur
Bernie
Charles