Fix sorting of my objects