get order based on links
boot order in two phases one for services the other for nodes