Ascending order according to age

Hi, could you please help me to make an order to enter the family members in ascending order according to age in begin repeat loop.

YPC

Thank you.

Could you share with the community a dummy of how your entry should see.

المصنف1.xlsx (9.9 KB)

i want an appearing message error if i entered hh_age2< hh_age1