Fix teamstats sorting