diff --git a/update/matchparser.ps1 b/update/matchparser.ps1 index 34e4520..2816bf2 100644 --- a/update/matchparser.ps1 +++ b/update/matchparser.ps1 @@ -214,7 +214,12 @@ function Get-MatchStatsPlayer { change = $change } } - return $MatchStatsPlayer | Sort-Object winratio -Descending + $MatchStatsPlayer | ForEach-Object { + $_ | Add-Member -NotePropertyName RandomKey -NotePropertyValue (Get-Random) -PassThru + } | Sort-Object -Property RandomKey | Select-Object -Property * -ExcludeProperty RandomKey #randomize the order + + + return $MatchStatsPlayer }