Fix sorting of geo objects