Simplify sorting arrays code

This commit is contained in:
Wojtek Figat
2023-12-01 13:57:34 +01:00
parent a808bcdbf6
commit c8dd2c045c
8 changed files with 21 additions and 11 deletions

View File

@@ -1270,7 +1270,7 @@ bool CookAssetsStep::Perform(CookingData& data)
{
Array<CookingData::AssetTypeStatistics> assetTypes;
data.Stats.AssetStats.GetValues(assetTypes);
Sorting::QuickSort(assetTypes.Get(), assetTypes.Count());
Sorting::QuickSort(assetTypes);
LOG(Info, "");
LOG(Info, "Top assets types stats:");