fixed notes.all to sort/show by id