Yext interview question

debugging interview to fix 5 test cases for a tree ordering function.