I can only give you a rough outline of what needs to be done. This would take a good deal of coding.
When showing a person:
Like I said, I would build a function that works with usort().
ACF has a basic example of using array_multisort() here https://www.advancedcustomfields.com/resources/how-to-sorting-a-repeater-field/
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
© 2022 Advanced Custom Fields.