sorting
This commit is contained in:
parent
88875f16c7
commit
17abedc23c
2 changed files with 3 additions and 1 deletions
|
|
@ -196,7 +196,7 @@ while($playerinfo.data.Count -gt $i) {
|
|||
$i++
|
||||
|
||||
}
|
||||
$seasonstats | convertto-json -Depth 100| Out-File "$scriptroot/../data/player_season_data.json"
|
||||
$seasonstats | Sort-Object -Property {$_.stat.data.attributes.rankedGameModeStats.'squad-fpp'.currentRankPoint} -Descending | convertto-json -Depth 100| Out-File "$scriptroot/../data/player_season_data.json"
|
||||
|
||||
remove-lock
|
||||
Stop-Transcript
|
||||
Loading…
Add table
Add a link
Reference in a new issue