wire up handleEditNote
correct the ordering of notes in a thread

the note is always first with comments after that