reformat only: run gofmt over the code
sort edges before emitting case statements, so they're always output in same order