reorder set to come before array