Correct compiled order of definitions
Fixed unit test
Fixed bug
minor edit
Fixed sort order (?)
Merge pull request #5 from lcampagn/glsl-function

Correct compiled order of definitions