fix code order in example
Merge pull request #62 from mscdex/patch-1

fix code order in example