Fixing ordering on stats