talentbuddy topological sort