Performs topological sorting on the generated interfaces.
The interfaces to sort topologically.
A topologically sorted set of interfaces.
Performs topological sorting on the generated interfaces.