sort notes by name
fix npe
Merge pull request #173 from NFLabs/sorting-notes

sort notes by name