Fix sorting users