Fixed order issue in export.notes