diff --git a/sites/partners/src/components/applications/PaperApplicationForm/PaperApplicationForm.tsx b/sites/partners/src/components/applications/PaperApplicationForm/PaperApplicationForm.tsx index a55ece06b7..c73871ae90 100644 --- a/sites/partners/src/components/applications/PaperApplicationForm/PaperApplicationForm.tsx +++ b/sites/partners/src/components/applications/PaperApplicationForm/PaperApplicationForm.tsx @@ -77,9 +77,13 @@ const ApplicationForm = ({ listingId, editMode, application }: ApplicationFormPr useEffect(() => { if (application?.householdMember) { - const orderedHouseholdMembers = application.householdMember.sort( - (a, b) => a.orderId - b.orderId - ) + const householdMemberNum = application.householdMember.length + const orderedHouseholdMembers = application.householdMember + //reset order ids to show members in order user added them + .map((member, idx) => { + return { ...member, orderId: householdMemberNum - idx } + }) + .sort((a, b) => a.orderId - b.orderId) setHouseholdMembers(orderedHouseholdMembers) } }, [application, setHouseholdMembers])