Rearranged functions order for better docs
Merge pull request #158 from cesanta/doc2

Rearranged functions order for better docs