Correct note about requiring namespaces
Correct bug in function sorting

Fixes #4