sort parameters when printing
print sorted for other parameter sets
Added Gadget2 'periodic' mode and renamed previous one to 'periodic_nogravity'