can anybody give me a hint
i have 2 vectors of strings, one is a list containing
some names sorted from the base object to the top
object 2 extensd object 1, 3 extends 2 and so on
the next vector is allso filled with strings that
represent theese classes (user input). it must contain at least one (the top object eg object4) and may contain some more but they must be in correct order.
so the user can enter
but can not enter
can you help me with some sorting algorythm on this example ???