Reversed one thing

so the specs would come before the functions in generated code. It's
code you don't seen unless you ask the compiler for, but it's nice to have