How to change cutting order in inkskape or laserweb?

How to change cutting order in inkskape or laserweb?
I want cut some holes before outside contour ,bo dont know how, now i need edit my gcode in wordpad

If you are exporting the Gcode from Inkscape, the cutting order is based on the order in which the objects are drawn. So draw the holes before the outside contour.

Ok,thanks,what about imported dxf files?

Not sure about the dxf files.

I use Notepad++ with line numbering for my g-code editing. Useful specially if g-code does not contain numbered lines.