Fix value checks as github returns null now
Merge pull request #9 from chewbranca/fix-null-check

Fix value checks as github returns null now
Added optional custom sorter.
Fixed style issue to make Lint pass.
Added sorter example.