树节点的排序,根据节点的parent顺序打印 如: list.append(person(1, "11", 0)) list.append(person(2, "22", 0)) list.append(person(3, "33", 0)) list.append(person(4, "44", 2)) list.append(person(5, "55", 1)) list.append(person(6, "66", 7)) list.append(person(7, "77", 8)) list.append(person