mergesort for both name and age on Person class implemented