private List<CreateView> sort() {
Map<Name, CreateView> map = Maps.create();
Graph<Name> dependencies = Graphs.newInstance();
for (CreateView view : added) {
Name name = view.name;
map.put(name, view);
for (Name dependTo : view.getDependencies()) {
dependencies.addEdge(name, dependTo);
}
}