<p>In Java code,</p><p>Create a new class called IntuitiveTopological that implementsthe TopologicalSort interface.Use BetterDiGraph to store thegraph.</p><p><br/>Instead of using DFS to find a topological sort, implement thefollowing algorithm: "IntuitiveTopological". This algorithm