AD-HOC || Toplogical Sort