Fixed bug in getting root nodes. The sort by field was missing the 'node' alias
Merge pull request #970 from odiaseo/master

Fixed PhpDoc errors and warnings