Sorting algorithm using external memory if the input iterable is too big
creates Graphviz diagrams from RDF