make sure notes are in sorted order, this was implied, but want to make it explicit