Fix sorting with persons