arrange the notes order