A computation test for sorting object based on their parent-child relation.