fix ordering of notes