order select options into json edits