diff --git a/src/Resume/Command/HtmlCommand.php b/src/Resume/Command/HtmlCommand.php index 7af2d48..917e9b9 100644 --- a/src/Resume/Command/HtmlCommand.php +++ b/src/Resume/Command/HtmlCommand.php @@ -102,6 +102,10 @@ class HtmlCommand extends Command array_push($assets, new FileAsset($fileInfo->getPathname())); } + usort($assets, function(FileAsset $a, FileAsset $b){ + return strcmp($a->getSourcePath(), $b->getSourcePath()); + }); + $collection = new AssetCollection( $assets );