replaced orderBy with sortBy

This commit is contained in:
Martin Folkerts 2024-09-17 15:01:04 +02:00
parent 056b8dd67b
commit 37be63d6cb

View file

@ -28,7 +28,7 @@ public static function getAsList(Project $project)
];
}
}
return collect($logs)->orderBy('name', 'desc');
return collect($logs)->sortBy('name', 'desc');
}
public static function getLogFileForToday(Project $project)