In PHP7, If I have this array: What is the most elegant way to process this array to add an extra column indicating who is the oldest to who is the youngest like so… Answer Without a point of reference to determine which is the oldest user you’re stuck either doing a multi loop comparison or a sort then insert.