made gfxpoly_dump print out segments in the right order