Sort the elements of a DXF file so that the elements which are nearest together
can be processed successively.

So you can optimize a DXF if you want for
example cut or mill the file later on. The optimization minimizes the time needed
to cut the file. You can setup a starting point in DXF coordinates before
the sorting process. The program will then start with the DXF element which is
the nearest to the starting point.

You can use this program before you convert the DXF file into G-Code with our program DXF to G-Code.