Prevent paths being output in reversed order
Remove four instances where the list of paths is reversed (for no apparent reason). This fixes the issue 'Gcode paths are in reversed order'.
As discussed there: "Removing the still remaining four reverse()'s from the script does fix the bug, doesn't seem to interfere with the working of the script (although it's hard to tell without more tests), saves a bit of processing time and is a bit less hacky than the fix I propose above."