Merge branch 'resource-ordering'
This commit is contained in:
commit
5736f432be
|
@ -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
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue