Ansell Healthcare interview question

Sorting data methods and linking data