Store and restore order of notes