sort rewards when adding with edit form