fixed write_lhco particle ordering