Extension to DBIx::Class::Schema for toposorting