Generate explicit hierarchy out of properties

Is it possible to use more than one property i.e. once the first hierarchy is evaluated, add more children by looking at the next property?