Fix doc blocks.
Fix calls to sortBy revealed by HHVM tests.
Merge pull request #3201 from s1owjke/docs-fix

Docblocks fix