jasmine.Tree updateNodeOrder reorders the root nodes if no parent is given (html) (from jasmine.specs)