cd grafos
time
operator vertex@* = VertexOperator([], [0:1:15])
operator out_degree@* = ProjectionOperator([vertex@local], [id, graph.id, cardinality(outgoing_edges)], [id, graph.id, out_degree])
operator partial_count@* = AggregateOperator([out_degree@local], [count], [*], [count], [graph.id, out_degree])
operator union@0 = UnionOperator([partial_count@*])
operator total_count@0 = AggregateOperator([union@local], [sum], [count], [count], [graph.id, out_degree])
operator sort@0 = SortOperator([total_count@local], [graph.id, out_degree:desc])
run sort@0
time