Is there a way to organize data in a hierarchical manner without sorting? for example I want to do a family tree which the grandfather is called "Andrew" and the children are called "John" and "Martin" but the alphabetical order has nothing to do with who is the grandfather and grandson
Is there a way to organize data in a hierarchical manner without sorting? for example I want to do a family tree which the grandfather is called "Andrew" and the children are called "John" and "Martin" but the alphabetical order has nothing to do with who is the grandfather and grandson
write your comparable logic, to fit your requirement.